Post Reply 
HP-42S (Free42, DM-42) mini-challenge – Wallis Product
07-05-2020, 03:50 AM
Post: #9
RE: HP-42S (Free42, DM-42) mini-challenge – Wallis Product
(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.
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 - Gerson W. Barbosa - 07-05-2020 03:50 AM



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