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?
 
gatorvipConnect With a Mentor Commented:
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
All Courses

From novice to tech pro — start learning today.