jiggzson / nerdamer

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

Nerdamer apparently fails to integrate "exp(log(x)) = x" and "exp(sin(x))*cos(x)". #558

Closed MiltonCobo closed 3 years ago

MiltonCobo commented 4 years ago

The library doesn't recognize that "exp(2log(x))" is equal to "x^2". Also the integral of "exp(sin(x))cos(x)" is easily solve by making the substitution "u=sin(x)". This is important because this integrals appears frequently when solving simple linear ODEs.

jiggzson commented 4 years ago

Got it. Thanks.