On an old complaint about the 15C integration
|
11-15-2024, 08:28 AM
(This post was last modified: 11-15-2024 08:34 AM by J-F Garnier.)
Post: #1
|
|||
|
|||
On an old complaint about the 15C integration
Is there a bug when trying to integrate x! between 69 and 70 on a 15c LE/CE ?
This old thread suggests it: thread-238657-post-238723 But a closer look doesn't confirm it. Quote:I evaluated your integral [x!] from 69 to 70 in fix 4 display (runtime error *expected*): First misconception: an overflow is not a run-time error on the 15C and doesn't halt a program. What will be calculated is the integral of min(x!,9.999999999e99). The result will be blinking to indicate an overflow during the calculation, this is a normal 15C behaviour. Second mistake: it's a bad idea to use FIX 4 to integrate a function with an expected result in the range of 1e99, this is asking to compute the integral with a 0.0001 absolute accuracy. In this case, a SCI setting is mandatory to specify a relative accuracy of e.g. 1e-4 with SCI 4. With this setting, the 15c LE, 15c CE and DM15L all give the same result in a short time: 2.7358 e99 Even the venerable original HP-15C can compute the integral, using SCI 2 to limit the execution time. What is interesting in this use case is the different way the 'running' message is handled on the 15c LE, 15c CE and DM15L. Actually, even the original 15C is not so nice, since the display is sometimes completely blank during the calculation. If there is a bug, it is in the original code that manages the display during the integration. Personally, I like the 15c CE display, with a very fast blinking 'running' display. J-F |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
On an old complaint about the 15C integration - J-F Garnier - 11-15-2024 08:28 AM
RE: On an old complaint about the 15C integration - brouhaha - 11-15-2024, 09:44 AM
|
User(s) browsing this thread: 1 Guest(s)