Post Reply 
HP 42S, DM 42 Integral
02-12-2021, 10:58 PM
Post: #3
RE: HP 42S, DM 42 Integral
The fact that the actual integral is zero is causing the problem. INTEG waits for the relative error to drop below ACC, but when the true result is zero, the approximated result keeps getting smaller at the same rate as the absolute error estimate, and so the relative error doesn't get better. After a certain number of iterations, it just gives up, but since each iteration takes twice as long as the last one, the total number of times the function has to be evaluated gets large rather quickly.

In Free42, you won't notice this because it usually runs on hardware that is so fast that even evaluating the function tens of thousands of times only takes a moment, but on the DM42 this does become noticeable. Clearly the HP-42S has a more aggressive termination condition for cases like this.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 42S, DM 42 Integral - lrdheat - 02-12-2021, 10:44 PM
RE: HP 42S, DM 42 Integral - lrdheat - 02-12-2021, 10:46 PM
RE: HP 42S, DM 42 Integral - Thomas Okken - 02-12-2021 10:58 PM
RE: HP 42S, DM 42 Integral - Albert Chan - 02-12-2021, 11:32 PM
RE: HP 42S, DM 42 Integral - Thomas Okken - 02-13-2021, 12:28 AM
RE: HP 42S, DM 42 Integral - Thomas Okken - 02-13-2021, 01:38 AM
RE: HP 42S, DM 42 Integral - Albert Chan - 02-14-2021, 02:22 PM
RE: HP 42S, DM 42 Integral - lrdheat - 02-13-2021, 02:26 AM
RE: HP 42S, DM 42 Integral - lrdheat - 02-13-2021, 03:03 AM
RE: HP 42S, DM 42 Integral - lrdheat - 02-14-2021, 03:14 AM
RE: HP 42S, DM 42 Integral - Thomas Okken - 02-14-2021, 03:27 AM
RE: HP 42S, DM 42 Integral - J-F Garnier - 02-14-2021, 08:57 AM
RE: HP 42S, DM 42 Integral - Thomas Okken - 02-14-2021, 09:10 PM
RE: HP 42S, DM 42 Integral - Albert Chan - 02-15-2021, 01:13 PM
RE: HP 42S, DM 42 Integral - Thomas Okken - 02-15-2021, 02:06 PM
RE: HP 42S, DM 42 Integral - Albert Chan - 02-15-2021, 04:33 PM



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