Search:

Type: Posts; User: GregBrannon

Search: Search took 0.09 seconds.

  1. Replies
    9
    Views
    1,430

    Re: Using functions in a calculator

    Math.sin( 2 * Math.PI ) ?

    But if you know how to use the Math class as you said in post #3, this should already be familiar to you, so I'm still missing something.
  2. Replies
    9
    Views
    1,430

    Re: Using functions in a calculator

    It sounds like it's the solving part you CAN do, but it's parsing the user's commands into the correct formulas that has you stumped. This is a common early project, so try searching for "java...
  3. Replies
    9
    Views
    1,430

    Re: Using functions in a calculator

    Review the Math class for the functions already available. Apache has some libraries that also provide these math functions. While I think the core Java Math class will have everything you need,...
Results 1 to 3 of 3