image thumbnail

The Computation of Pi by Archimedes

version 1.20.0.0 (3.58 MB) by Bill McKeeman
Archimedes wrote 3 1/7 > pi > 3 10/71. This is how he did it.

3.2K Downloads

Updated 04 Mar 2016

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Before there was floating point, or a way to write zero, or algebraic notation, Archimedes bounded the value of pi by estimating the perimeter of regular polygons inside and outside the circle. His computation is repeated and explained here using MATLAB.

Cite As

Bill McKeeman (2021). The Computation of Pi by Archimedes (https://www.mathworks.com/matlabcentral/fileexchange/29504-the-computation-of-pi-by-archimedes), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

@fr/

@vpi/