HP Forums
(PC-12xx~14xx) qthsh Tanh-Sinh quadrature - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not remotely HP Calculators (/forum-9.html)
+--- Thread: (PC-12xx~14xx) qthsh Tanh-Sinh quadrature (/thread-16549.html)

Pages: 1 2 3 4 5


RE: (PC-12xx~14xx) qthsh Tanh-Sinh quadrature - Nigel (UK) - 03-10-2024 11:54 AM

Panic over - I misunderstood the code. Looking more closely I see that where the code says //use last fl and fr before the sign change it is actually using the values of fl and fr associated with the value of r after the sign change, reading down the table. So that's all correct now.

If none of this makes any sense to anyone, don't worry!

The algorithm to find the split point is really neat - it is surprisingly effective for something with so few function evaluations. I've enjoyed working through it.

Nigel (UK)