Post Reply 
Determinant example in help fails in CAS
07-26-2024, 12:10 AM
Post: #11
RE: Determinant example in help fails in CAS
(08-01-2020 03:38 PM)robmio Wrote:  The error appears only in the HP PRIME G2 (hardware version, last firmware: January 21, 2020, CAS view).
Hopefully HP will fix it quickly, along with other bugs. This error, in fact, prevents the numerical calculation of some integrals not only in CAS view, but also in HOME view:

romberg(exp(-(z)*sinh(t)-n*t),t,0,∞)

with "z" as complex number.

It seems that the trouble computing this integral may not be due to the G2 cos(1e50)=-Inf bug, but rather that CAS on the HP Prime has limited precision.

In Xcas, 12 digits:
romberg(exp(-(2*i)*sinh(t)-4*t),t,0,∞) -> undef

Xcas, 15 digits:
romberg(exp(-(2*i)*sinh(t)-4*t),t,0,∞) -> -0.985997062230590e-1*i

At least that's something, though Wolfram alpha gives a different approximation with a real component. Even at 100 digits Xcas has no real component, who is right?

integral(exp(-(2*i)*sinh(t)-4*t),t,0,∞)

- neek
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Determinant example in help fails in CAS - ftneek - 07-26-2024 12:10 AM



User(s) browsing this thread: 2 Guest(s)