The classic Gregory-Leibnitz infinite series method of calculating pi comes to us from 17th century Europe. But much earlier, in 15th century India, a genius named Nilakantha had developed an infinite series method that was faster-converging. (Imagine these people, doing this kind of work without a Macbook Pro?) This script compares the two methods for any given number of series terms. My next project is to graph their output, term by term, and hopefully to color code the lines to compare the progression of time.
Bud Kelly (2022). mypicalculator4 (https://www.mathworks.com/matlabcentral/fileexchange/66801-mypicalculator4), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!