Open washlake opened 8 years ago
Well it's basically just repeated addition with certain values. See: https://en.wikipedia.org/wiki/Pi#Rapidly_convergent_series
I don't know, how good you are at math but basically you just pick one of the series' and put it into a for-loop and then pick a big i to be used. The bigger the i, the more digits you get.
MiksuLinuxGuy Thanks for the insight. Dale Washlake
From: MiksuLinuxGuy <notifications@github.com>
To: CodingRainbow/Rainbow-Topics Rainbow-Topics@noreply.github.com Cc: washlake washlake@yahoo.com; Author author@noreply.github.com Sent: Saturday, July 30, 2016 8:42 AM Subject: Re: [CodingRainbow/Rainbow-Topics] Calculate pi to 1000 decimal places using both p5.js and Processing (#47)
Well it's basically just repeated addition with certain values. See: https://en.wikipedia.org/wiki/Pi#Rapidly_convergent_seriesI don't know, how good you are at math but basically you just pick one of the series' and put it into a for-loop and then pick a big i to be used. The bigger the i, the more digits you get.— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Calculate pi to 1000 decimal places using both p5.js and Processing. Compare the speed of both languages. How about 100000 places?