numworks / epsilon

Modern graphing calculator operating system.
https://www.numworks.com/resources/engineering/software/
1.75k stars 467 forks source link

calculator numerically estimates instead of giving exact value #2240

Open adam12371 opened 1 month ago

adam12371 commented 1 month ago

Numworks calculator provides a numerical estimate when integrating

screenshot screenshot (1) screenshot (2)

Expected behavior

The answer on the third screenshot should be 0 as k=8 satisfies the original equation and when done on paper it is correct but when checking answers on the calculator it provided a numerical estimate rather than the correct answer

Environment

Simulator version: 23.2.1 calculator version: 23.2.3 happens on the simulator and physical calculator

alloploha commented 1 month ago

Analytical solutions for arbitrary integrals are often impossible to obtain. Most integrals do not have closed-form solutions, making numerical methods necessary in many cases.

adri1numworks commented 1 month ago

Issue is reported internally. I'll keep you updated

fbeleznay commented 3 weeks ago

I just came accross a related issue. I wanted to solve the integral equation on the screenshot, but Numworks kept working for minutes without giving any answer. The online emulator simply stopped responding to any input.

screenshot(1)

I tried it with the HP prime emulator, it gave me instantly the solution 0.19384396...

adri1numworks commented 1 week ago

Update on this issue – Concerning the first comment, we'll try to update our algorithm but there is a chance we cannot better estimate the integral. As mentioned, we estimate integral numerically, hence leading to small errors.

This being said, the last comment from @fbeleznay is a different issue. I created another internal issue to tackle this problem and will keep you updated