Closed gulyasmarton closed 3 years ago
I have an ugly equation:
😆 It is a bit hairy looking but in a pet-like way.
I do something wrong?
Nope. So here's the thing. Under the hood, when all else fails, solve reverts to Newton's iterations and tries to solve it numerically. It first generates a few good starting points and then checks for zeroes around that point. In reality it should've tried something like bisection first since Newton sometimes overshoots the point because of how JS numbers behave. I've been putting it off for some time but this issue somewhat gave me a good case to work with.
This issue should be fixed on the dev
branch. Let me know if you have any questions.
Hello,
I have an ugly equation:
According to WolframAlpha the result ~ 3.9 and 13.0
The nerdamer can parse the input string without an issue (output of toString() function):
But when I'm trying to solve it then I got an empty array as a result without any error message...
I do something wrong?