Post Reply 
HP 35S, HP 42S
07-12-2022, 05:09 PM
Post: #1
HP 35S, HP 42S
Out of curiosity, I conducted a number of integrations on the HP 35S and the HP 42S. I discovered that the two calculators produce identical results, and in identical times if I have the HP 35S in fix 4, and the HP 42S with an accuracy of 1e-05. I was surprised that HP 42S accuracy of 1e-05 was identical in speed, results when shown to full display of digits, and reported accuracy.

I was also expecting that the HP 35S would be slower than the HP 42S as my impression was that the HP 35S was a bit slow!
Find all posts by this user
Quote this message in a reply
07-12-2022, 05:11 PM
Post: #2
RE: HP 35S, HP 42S
…I was surprised that fix 4 on the HP 35S was the equivalent of accuracy setting of 1e-05 on the HP 42S.
Find all posts by this user
Quote this message in a reply
07-13-2022, 05:23 PM
Post: #3
RE: HP 35S, HP 42S
For integral from 0 to 4 of 1/SQRT(4*X-X^2), fix 3 on the HP 35S and ACC of .001 on the HP 42S are doable, higher accuracy requests result in an integration time that I ran out of patience on both calculators. The HP 35S produced 3.140, the HP 42S produced 3.133. Actual answer is PI.
Find all posts by this user
Quote this message in a reply
07-14-2022, 02:28 PM
Post: #4
RE: HP 35S, HP 42S
If you look in the forum archive I believe you’ll find the 35S is one of the fastest HP calcs.
Find all posts by this user
Quote this message in a reply
07-14-2022, 05:08 PM
Post: #5
RE: HP 35S, HP 42S
(07-14-2022 02:28 PM)Sukiari Wrote:  If you look in the forum archive I believe you’ll find the 35S is one of the fastest HP calcs.

True. Note that the 33s is even faster. In this particular example of taking the integral of 1/sqrt(4x-x^2) from 0 to 4 in FIX 3 mode, the 35s take 149 seconds, but the 33s takes 119 seconds. Saving 30 seconds is nice.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
07-14-2022, 06:05 PM
Post: #6
RE: HP 35S, HP 42S
The CASIO 991 EX CLASSWIZ using an interval from 1e-12 to 4-1e-11 came up with a much better answer of 3.14158849 in just 48 seconds (error results from 1/0 division using 0 to 4). The TI-30X Pro MathPrint is fine using 0 to 4, comes up with 3.141587206 after 134 seconds.
Find all posts by this user
Quote this message in a reply
07-14-2022, 09:16 PM
Post: #7
RE: HP 35S, HP 42S
Integral take a long time because u-transformed integral, end-points still not zero.

∫(1/√(4x-x^2), x, 0, 4) = ∫(1/√(1-y^2), y, -1, 1) = ∫(3/√(4-u^2), u, -1, 1)

Here, u-transformation only turned infinite end-points to finite (both ends √3), not 0.
If you integrate u-version instead (i.e. u-transformed once more), problem goes away.

https://www.hpmuseum.org/forum/thread-14...#pid127621
Find all posts by this user
Quote this message in a reply
07-15-2022, 06:32 AM
Post: #8
RE: HP 35S, HP 42S
An WP34S will give you 8 correct digits, integrating from 0 to 4, in less than 4 seconds.
Find all posts by this user
Quote this message in a reply
07-15-2022, 01:35 PM (This post was last modified: 07-15-2022 01:36 PM by John Keith.)
Post: #9
RE: HP 35S, HP 42S
(07-14-2022 05:08 PM)Joe Horn Wrote:  ... Note that the 33s is even faster. In this particular example of taking the integral of 1/sqrt(4x-x^2) from 0 to 4 in FIX 3 mode, the 35s take 149 seconds, but the 33s takes 119 seconds. Saving 30 seconds is nice.

The 50g isn't that much better. In FIX 3 mode, it returns 3.13952... in 28.6 seconds. However, in exact mode it returns symbolic PI in 3.8 seconds.
Find all posts by this user
Quote this message in a reply
Post Reply 




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