Post Reply 
(35S) Perimeter of ellipse (Ramanujan 2nd Approximation)
06-27-2021, 08:53 AM (This post was last modified: 06-27-2021 09:06 AM by mchris.)
Post: #1
(35S) Perimeter of ellipse (Ramanujan 2nd Approximation)
Put the two radii in X and Y stack and execute. It uses registers A and B
Code:
P001    LBL P
P002    STO B
P003    RDN
P004    STO A
P005    RCL–B
P006    x^2
P007    RCL A
P008    RCL+B
P009    x^2
P010    /
P011    3
P012    *
P013    ENTER
P014    ENTER
P015    4
P016    X<>Y
P017    –
P018    SQRT
P019    10
P020    +
P021    /
P022    1
P023    +
P024    RCL A
P025    RCL+B
P026    *
P027    π
P028    *
P029    RTN
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(35S) Perimeter of ellipse (Ramanujan 2nd Approximation) - mchris - 06-27-2021 08:53 AM



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