Can you calculate Pi using a Solver?

12092019, 06:38 PM
(This post was last modified: 12092019 06:51 PM by jthole.)
Post: #7




RE: Can you calculate Pi using a Solver?
(12092019 03:35 PM)Valentin Albillo Wrote: If your Solver has Square Root and Factorial, this one from Ramanujan converges very fast and it's quite simple, few bytes to program it and only a few terms to add up for full precision... Very nice! Here is the equation for the 17Bii: 1 ÷ PIVAL = ( ( 2 x SQRT( 2 ) ) ÷ 9801 ) x sigma ( I : 0 : N : 1 : ( FACT( 4 x I ) x ( 1103 + 26390 x I ) ÷ ( ( FACT( I ) ^ 4 ) x ( 396 ^ ( 4 x I ) ) ) ) I only tested it on the iPhone emulator, but it goes to full precision very quickly (N=2) indeed. 11C, 12C, 15C CE, 17Bii, DM42 

« Next Oldest  Next Newest »

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