UpsilonNumworks / Upsilon

Upsilon, an OS forked from Omega for your Numworks calculator
https://getupsilon.web.app/
Other
209 stars 61 forks source link

Equation solver does not display all solutions. #296

Open theodorechle opened 2 years ago

theodorechle commented 2 years ago

I'm sorry if they are errors, I'm French.

Describe the bug The equation solver does not find all solutions of some equations.

To Reproduce enter x-2=ln(x) for the interval [-10, 10], the solver just find 3.146193 but if you search for [0 1], he found 0.1585943 too

Expected behavior [0, 1] is in [-10, 10], so he must find both.

Screenshots In a Numworks page, you can see it works normally with Epsilon image

Device (please complete the following information):

Edit : After speaking on Discord, the problem must be with the definition's domain. With the example, ln(x)>0 so the solutions are higher than 0. In the test with [-10, 10], the definition must be too large so the solver is less precise.

Overengined commented 1 year ago

This might be caused by the way the calculator looks for the solution. It is indeed an annoying bug.