Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Latest commit

 

History

History
12 lines (7 loc) · 756 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 756 Bytes

FinitePi

Uses the popular Machin-Like algorithm to great amounts of precision in calculating π. The Machin-Like formula proposed by Hwang Chien-Lih from 1997 is currently being used.

Machin-Like formula

By implementing a GUI, calculations can be made to relatively large decimal precision values and progress can be monitored during these calculations.

Inverse tangent is calculated using the following Taylor series. Javas BigDecimal class is used to get arbitrarily large decimal precision when calculating inverse tangent (along with every other equation used to find pi).

Arctan