Back to functions

factor


factor

Factor an expression. Multivariate factoring in currently under development.

Usage: nerdamer("factor(x)")


Parameters

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

Returns

Expression

EXAMPLES:
var x = nerdamer('factor(x^2-3*x-10)');
console.log(x.toString())
var y = nerdamer('factor(-b*z-a*z+b^3+a*b^2+a*b+a^2)');
console.log(y.toString());
var z = nerdamer('factor(sin(x)^6+3*cos(x)^2*sin(x)^4+3*cos(x)^4*sin(x)^2+cos(x)^6)');
console.log(z.toString());
OUTPUT:
Back to functions