String x | Expression 1 |
String y | Expression 2 |
var x = nerdamer('x^2+x').divide('x').expand();
console.log(x.toString());
x = nerdamer(0.1).multiply(0.2);
console.log(x.toString());
var a = nerdamer('(x+a)(y+b)');
var b = nerdamer('2(y+b)');
console.log(a.divide(b).toString());