expression x | Returns the appropriate value if possible otherwise it returns the function with the simplified expression |
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());