Post Reply 
HP-42S (Free42, DM-42) mini-challenge – Wallis Product
07-05-2020, 05:32 AM
Post: #11
RE: HP-42S (Free42, DM-42) mini-challenge – Wallis Product
(07-05-2020 03:50 AM)Gerson W. Barbosa Wrote:  
(07-05-2020 12:56 AM)mfleming Wrote:  Pretty off-topic, but I enjoy doing these mini-challenges in other programming languages as well

Code:

      wallis←{2××/(n-1)÷⍨n←4×(⍳⍵)*2}
      wallis 50000
3.141576946

APL? It looks greek to me. But no problem, solutions in other programming languages are always welcome.
APL indeed, and thank you for all your posts over the years!

Remember kids, "In a democracy, you get the government you deserve."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-42S (Free42, DM-42) mini-challenge – Wallis Product - mfleming - 07-05-2020 05:32 AM



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