(PC-12xx~14xx) qthsh Tanh-Sinh quadrature
|
04-10-2021, 04:13 PM
Post: #47
|
|||
|
|||
RE: (PC-12xx~14xx) qthsh Tanh-Sinh quadrature
(04-10-2021 12:05 AM)Albert Chan Wrote:(04-08-2021 01:58 PM)Albert Chan Wrote: I believe there is nothing to worry about. Amazing. Confirmed with the C version, reusing previous point: qthsh a NAN!!! qthsh b NAN!!! qthsh a NAN!!! qthsh b NAN!!! qthsh a NAN!!! k=5 err=1.86609e-09 pts=80 qthsh = -0.693147180599693 wp34s a NAN!!! wp34s b NAN!!! wp34s a NAN!!! wp34s b NAN!!! wp34s a NAN!!! wp34s b NAN!!! wp34s a NAN!!! wp34s b NAN!!! wp34s a NAN!!! wp34s b NAN!!! wp34s a NAN!!! wp34s b NAN!!! k=6 err=5.67726e-07 pts=139 wp34s = -0.693147748281705 Using zero as default when NaN occurs: qthsh a NAN!!! qthsh b NAN!!! k=5 err=1.80629e-09 pts=77 qthsh = -0.693147180558242 wp34s a NAN!!! wp34s b NAN!!! wp34s a NAN!!! wp34s b NAN!!! wp34s a NAN!!! wp34s b NAN!!! k=6 err=4.70357e-12 pts=133 wp34s = -0.693147180559957 Zero as default improves the result. Note that for the wp34s I had to set eps=1e-15 to prevent early termination. With qthsh with eps=1e-12: qthsh a NAN!!! qthsh b NAN!!! k=6 err=1.10518e-14 pts=155 qthsh = -0.693147180559942 - Rob "I count on old friends" -- HP 71B,Prime|Ti VOY200,Nspire CXII CAS|Casio fx-CG50...|Sharp PC-G850,E500,2500,1500,14xx,13xx,12xx... |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)