When I run the simplify() function with Nerdamer,
nerdamer("simplify(-(-5*x - 9 + 2*y))").toString();
... it outputs 1 for some reason, which is very clearly wrong!
Even when running it in its simplest form:
nerdamer("simplify(5*x - 2*y + 9)").toString();
... it still outputs 1.
I am trying to simplify the following expression:
-(-5*x - 9 + 2*y))
When I run the simplify() function with Nerdamer,
nerdamer("simplify(-(-5*x - 9 + 2*y))").toString();
... it outputs1
for some reason, which is very clearly wrong!Even when running it in its simplest form:
nerdamer("simplify(5*x - 2*y + 9)").toString();
... it still outputs1
.Does anyone know why this is happening?