Link to home
Start Free TrialLog in
Avatar of Koraxen
Koraxen

asked on

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!
ASKER CERTIFIED SOLUTION
Avatar of gatorvip
gatorvip
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kunalthakur
kunalthakur

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.