Java Math power function

Hey guys,

Quick question:

Is there a way to easily perform math operations in Java? That is, some library or package that will let one do cosine, sine, exponentials, etc.

Thanks!
KoraxenAsked:
Who is Participating?
 
gatorvipCommented:
0
 
kunalthakurCommented:
java.lang.math package has function to find sin,cos,absolute value etc etc...

eg. its signature is static double cos(double)

it take in double value as an arguement and returns the cos of angle.  
Note : it takes the angle in radians as input.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.