Skip to content
Advertisement

Tag: pi

Trying to accurately get 100 digits of pi with Chudnovsky’s algorithm in PYTHON

I am trying to teach myself Chudnovsky’s algorithm using Python and this wikipedia page: https://en.wikipedia.org/wiki/Chudnovsky_algorithm On the wiki, I am focused on the “high performance iterative implementation, [that] can be simplified to”: I tried to code up the equation on the far right that is using the Sigma symbol. I am familiar with Python but am not that great at

Advertisement