Post Reply 
RE: HP48-HP50G : Error functions ERF(z), FRESNEL integrals, PROBIT, etc.
12-20-2023, 11:00 PM (This post was last modified: 12-21-2023 01:39 AM by Gil.)
Post: #44
RE: RE: HP48-HP50G : Error functions ERF(x or z), ERFC (x or z) & iERF/iERFc —>x
New version 11b

All the explanations relative to the argument were somewhat changed.


Subroutine inv¦z was completed (in bold) for special cases :

inv¦z
\\<<
DO \\-> p z
\\<< z DUP ERF 4 ROLLD 3 DROPN p - DUP \\-> f
\\<< '2/\\v/\\pi*EXP(-z^2)+f*z' / - \\->NUM DUP DUP RE ABS 9 > SWAP IM ABS 9 > OR
IF
THEN ROT DROP \"Failure as
Interm.Newton
result (a,b)=
\" SWAP 1 RND + \", &
|a| or |b| \\>=9 not OK in ERF\" + POP DOERR \"To force a sol, try,
for max.z, 99 instead
of 9, here & in ERF\" DROP
END
p SWAP z
\\>>
\\>>
UNTIL OVER - DUP RE ABS .0000000001 < SWAP IM ABS .0000000001 < AND
END UNROT DROP2
\\>>


Attached File(s)
.hp  ERROR.11b.hp (Size: 12.73 KB / Downloads: 1)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: RE: HP48-HP50G : Error functions ERF(x or z), ERFC (x or z) & iERF/iERFc —>x - Gil - 12-20-2023 11:00 PM



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