Back to functions

acos


arccosine

Returns the inverse of cos in radians. Does not detect for known values of pi at them moment.

Usage: nerdamer("acos(x)")


Parameters

expression x Returns the appropriate value if possible otherwise it returns the function with the simplified expression

Returns

Expression

EXAMPLES:
var r = nerdamer('acos(0)');
console.log(r.toString());
var t = nerdamer('acos(-1)')
console.log(t.toString());
OUTPUT:
Back to functions