Post Reply 
HP 15C and INT(1/√(1-x),0,1)
01-08-2018, 10:38 PM
Post: #10
RE: HP 15C and INT(1/√(1-x),0,1)
(01-08-2018 10:15 PM)Dieter Wrote:  You can find out yourself: as soon as the error occurs, switch to program mode an see at which line you are. Since the stack is filled with x, press R↓ to check x.

I suspect that the error is caused by the 1/x instruction, and this may happen if x is so close to 1 that 1–x is evaluated to zero, which leads to an attempt to divide by zero. But this is just a guess. ;-)

This usually does not happen as the interval should not be evaluated at its limits. But if Δx eventually becomes extremely small this may well be possible.

Dieter

I'll try again. I suspect also that the problem is with 1/x. I found that with FIX2, 3,4,5 no error is reported, but with 6 LE returns the error (the old HP15C I don't know as normally I put it off after two hours without results, as to wait without result it is boring a lot).

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 15C and INT(1/√(1-x),0,1) - salvomic - 11-26-2017, 07:51 PM
RE: HP 15C and INT(1/√(1-x),0,1) - JimP - 01-12-2018, 04:18 AM
RE: HP 15C and INT(1/√(1-x),0,1) - salvomic - 01-08-2018 10:38 PM
RE: HP 15C and INT(1/√(1-x),0,1) - tgray - 01-09-2018, 03:42 PM



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