jiggzson / nerdamer

a symbolic math expression evaluator for javascript
http://www.nerdamer.com
MIT License
514 stars 82 forks source link

Pending issues with simplify #580

Open jiggzson opened 3 years ago

jiggzson commented 3 years ago

simplify((1/2)*sqrt(-4*x^2+16)) does not simplify

jiggzson commented 3 years ago

(-1/2)*(1+x^2)^(-1)*sqrt(16+16*x^2)

jiggzson commented 3 years ago

11/(sqrt(11)/2)

jiggzson commented 3 years ago

simplify(-(-5*x - 9 + 2*y)) still gives wrong output as mentioned in #577

jiggzson commented 3 years ago

simplify(z-((-(-1+x)^(-1)+x*(-1+x)^(-1))^(-1)*(-1+x)^(-1)*z*x-(-(-1+x)^(-1)+x*(-1+x)^(-1))^(-1)*(-1+x)^(-1)*z*x*x^(-1)))

Moved from #568

jiggzson commented 3 years ago

simplify(((-1/2)x^3+3/2+abs((-1/2)x^3+3/2))^(1/3)+((-1/2)x^3-abs((-1/2)x^3+3/2)+3/2)^(1/3)) gives x^3-3 which is wrong. Discovered with #594.