[] pi = 3.141592653589793 [x] absolute value [x!] factorial [x^y] exponent [nPk] permutation [nCk] combination
Math.abs(NUMBER) absolute value Math.acos(NUMBER) arc cosine in radians Math.asin(NUMBER) arc sine in radians Math.atan(NUMBER) arc tangent in radians Math.ceil(NUMBER) integer greater or equal Math.cos(NUMBER) cosine Math.exp(NUMBER) Euler's constant (e) to the power of NUMBER Math.floor(NUMBER) integer less or equal Math.log(NUMBER) natural logarithm (base e) Math.max(NUMBER1,NUMBER2) returns highest value Math.min(NUMBER1,NUMBER2) returns lowest value Math.pow(NUMBER1,NUMBER2) NUMBER1 ^ NUMBER2 Math.random() random number Math.round(NUMBER) round to the nearest integer Math.sin(NUMBER) sine Math.sqrt(NUMBER) square root Math.tan(NUMBER) tangentexample
2007-12-02 Sun 16:16ct