WP34S handheld SLV, ∫ speed - Printable Version +- HP Forums ( https://www.hpmuseum.org/forum)+-- Forum: Not HP Calculators ( /forum-7.html)+--- Forum: Not quite HP Calculators - but related ( /forum-8.html)+--- Thread: WP34S handheld SLV, ∫ speed ( /thread-3650.html) |

WP34S handheld SLV, ∫ speed - CR Haeger - 04-15-2015 06:46 PM
Hello, Recently purchased/received a preflashed WP34S and hard-copy v3.3 manual. Have enjoyed exploring both and realizing all the HP15C functions/code that I had forgotten (or never learned..). Using Solve (SLV) and Integration (∫) am I correct in using the following to speed up these functions at the expense of accuracy: SLV: Include a test (or function) in the program SLV calls that will force the output X to zero when it is "near" zero. I seem to have used g RND with h FIX 03 at the end of the program with some success. I'm also aware that initial guesses matter... ∫: As with the 15C, setting FIX to fewer decimals (say 03 vs 10) speeds things up, as does breaking up functions with "highly variable" versus "flat" regions into pieces. Thanks for your help. RE: WP34S handheld SLV, ∫ speed - Dieter - 04-15-2015 07:14 PM
(04-15-2015 06:46 PM)CR Haeger Wrote: Using Solve (SLV) and Integration (∫) am I correct in using the following to speed up these functions at the expense of accuracy: Solve exits if the last two approximations are sufficiently close, or if the function result is very close to zero. You may force a zero result by rounding the result at the end of your function routine. The 34s has a some special rounding functions that will help here. For instance, RDP 04 rounds the result to 4 decimal places. There is no need to change the display format. Integrate, on the other hand, quits its iteration as soon as the two last approximations agree when rounded to display precision (!). This means: if you set SCI 4 the result is returned as soon as the result can be considered correct in five significant digits (that's what SCI 4 displays). Dieter |