acos(n) - returns the arc cosine
of the angle (in radians) passed
Math.atan(n) - returns the arc
tangent of the angle (in radians) passed
Math.log(n) - returns the natural
logarithm of the number passed
Math.exp(n) - returns a value equal
to e^n, where "e" is an animal named the Euler constant
Math.random() - returns a random
number between 0 and 1
Math.round(n) - rounds the number
passed
Math.abs(n) - returns the absolute
value of the number passed
Math.sqrt(n) - returns the square
root of the number passed
Math.pow(a, b) - returns the value of
a^b
Needless to say, you're not likely to
find all the methods listed above essential in your daily life--we've
managed to survive without most of them. But, like money in the bank,
it's
|