HP Forums
Wrong integration - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Wrong integration (/thread-17839.html)



Wrong integration - Anatoli_Traf - 12-21-2021 04:57 PM

Hi, I have a new Prime G2 with the latest 2021.12.02 firmware.
But it can't handle with integral int(sin(x^20),x,-20,20) in non-CAS mode. What is wrong?
The CAS shows the correct result, the same integral calculated correctly from -10 to 10. Also, the Windows emulator works well.
Does HP Prime have any settings for integration?

[Image: undefined.png]

[Image: undefined-CAS.png]


RE: Wrong integration - Wes Loewer - 12-22-2021 04:12 AM

I have the same calculator/firmware and I'm getting the correct answer in both CAS and Home. I tried various settings but could not reproduce your result.


RE: Wrong integration - Anatoli_Traf - 12-22-2021 05:17 AM

Seems I found the issue.
I see the CAS setiings, and epsilon were 1e-100. I changed to 0.000000000001 as the Windows emulator has. And finally, it works.


RE: Wrong integration - Anatoli_Traf - 12-22-2021 08:18 AM

I have some more notes that integration results really depend on epsilon value.
Even default 0.000000000001 is not sufficient for some equations, need to reduce.