jiggzson / nerdamer

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

differentiation giving wrong result. #610

Closed Anonymus0999 closed 3 years ago

Anonymus0999 commented 3 years ago

Unable to solve diff(sqrt(e^x + a),x) This is giving output = e^x There is also problem in integrate((sin(sqrt(x)+a) * e^sqrt(x)), x) I think the problems are some how related to the sqrt part. Because if I try for sqrt(e^x) or sqrt(3^x) It results error: Screenshot 2021-05-21 030026 but sqrt(x^3) is okay. No error.

jiggzson commented 3 years ago

@Anonymus0999, I'll look into it. Thanks.