Post Reply 
[VA] SRC #008 - 2021 is here !
01-04-2021, 09:12 AM (This post was last modified: 01-04-2021 09:14 AM by J-F Garnier.)
Post: #8
RE: [VA] SRC #008 - 2021 is here !
(01-02-2021 09:24 PM)J-F Garnier Wrote:  I was inspired by [the] 2nd problem:
...
I had no special problem to evaluate it on the HP-71 (actually Emu71:-) with the Math ROM, after a simple operation.

Here is my solution, not for the HP-71 but the 32S (not even the 32SII) that is, as I mentioned several times, my favourite machine for simple calculations.
Well, I cheated a bit since I used the observation I made in my previous message :-) so the execution time is reduced to less than two minutes including keystrokes. Not bad for this machine....

Code:






Program for the 32S/32SII:
LBL V
RCL X
COS
STO C
LASTx
SIN
STO S
2
SQRT
/
+

RCL S

2
/
+
LN
RCL C
/
RCL S
/
2
/
RTN


Keystokes:
RAD
FN= V
FIX 10
0
PI 2 /
§FN dX
>>  §=0.925275413
STO A
PI 2 /
PI
§FN dX
>> §=1.542125688
RCL+ A
>> 2.4674011003   ***
Exactly the expected constant (to 10 places).

J-F
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [VA] SRC #008 - 2021 is here ! - Gene - 01-02-2021, 01:49 AM
RE: [VA] SRC #008 - 2021 is here ! - J-F Garnier - 01-04-2021 09:12 AM
RE: [VA] SRC #008 - 2021 is here ! - robve - 01-03-2021, 06:33 PM
RE: [VA] SRC #008 - 2021 is here ! - robve - 01-05-2021, 03:39 AM
RE: [VA] SRC #008 - 2021 is here ! - Gene - 01-04-2021, 05:56 PM
RE: [VA] SRC #008 - 2021 is here ! - Gene - 01-04-2021, 07:24 PM
RE: [VA] SRC #008 - 2021 is here ! - Gene - 01-06-2021, 02:54 PM
RE: [VA] SRC #008 - 2021 is here ! - EdS2 - 01-08-2021, 01:32 PM



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