Open fbeleznay opened 9 months ago
Hi @fbeleznay , I'm sorry I missed your message. Thanks for reaching out ! This is indeed a bug and I've created a ticket internally to look into this issue. We'll also look into the topic you raised in ticket #2154
Describe the bug
Numworks finds a solution where the left hand side of the equation is not defined. I know, we should create separate reports for separate issues, but the following is I think related: When I graph the left hand side of the equation, the x-intercept is shown, where in fact it is not in the domain.
Screenshots
The equation: Setting xmin and xmax: The result: Note that for x=1 the left hand side is not defined. When I graph the left hand side, I get the following information, when I trace the curve to x=1: On the other hand, when I go to "Calculate" and then specify x=1, I get the correct "undefined" y-value.
Expected behavior
I guess, Numworks uses numerical algorithms, and approximately, x=1 is indeed a solution, but it would be good if Numworks could recognize domain problems like this. In fact, as my last screenshot on the graph screen shows, it can. Is it possible, that algebraic manipulations are also used to simplify expressions? This would explain why x=1 is found as a solution, but if this is the case, then maybe the domain change of the expression is not handled carefully.
Environment