Matlab Database > Miscellaneous > Approximation of pi

Matlab File(s)

Title: Approximation of pi
Author: Markus Koerner
Institution: University of Stuttgart
Description: Demonstrates the computation of PI according to Archimedes.

Archimedes computed PI by approximating the unit circle through regular polygons with N edges. Archimedes developed a formula that allowed him to compute the length B of the edge of a regular polygon with 2N edges from the length A of an edge of a polygon with N edges:

      B = sqrt( 2 - sqrt( 4 - A^2 ) )

Note: This file was created by a student as a partial fulfillment for the requirements of the course "Classical Mathematical Theorems and their Visualization on the Computer", Winter term 2002/2003, Stuttgart University.
Keywords: Archimedes, pi
File Name: archimedes.m
File Size: 2 KB
File Version: 1.0
Matlab Version: 6.1
Date: 2002-11-05
Downloads: 3229
Download File

Upload your own files today! Click here for more information.