mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-05-09 08:25:44 +02:00
[GH-ISSUE #296] Equation solver does not display all solutions. #127
Labels
No labels
bug
duplicate
easy
enhancement
enhancement
fixed
fixed
good first issue
hard
invalid
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Upsilon#127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @theodorechle on GitHub (Nov 7, 2022).
Original GitHub issue: https://github.com/UpsilonNumworks/Upsilon/issues/296
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
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 on GitHub (Mar 5, 2023):
This might be caused by the way the calculator looks for the solution. It is indeed an annoying bug.