English version below.
English title: Approximation of Pi (π)
Das Thema meiner Facharbeit war "Approximation der Kreiszahl Pi & aktuelle Diskussionen zum Thema". Ich habe sie am 14.03.2017, dem internationalen π-Tag (03/14), am Julius-Ambrosius-Hülße-Gymnasium eingereicht. Die Arbeit behandelt verschiedene Möglichkeiten, die Kreiszahl π zu bestimmen. Da π eine irrationale Zahl ist, kann sie nicht exakt berechnet, sondern nur näherungsweise bestimmt werden. In der Arbeit werden experimentelle, einfache und algorithmische Näherungsverfahren vorgestellt. Als Eigenanteil habe ich zudem einen eigenen Algorithmus entwickelt.
Eine Auswahl der in der Arbeit vorgestellten Algorithmen ist beispielhaft in Python implementiert:
python scripts/coprime.py --amount 10000 --max_value 10
python scripts/geometric.py --iterations 10
python scripts/monte-carlo.py --amount 10000 --side_length 1
python scripts/chudnovsky.py
The topic of my term paper was "Approximation of Pi & current discussions on the topic". I submitted it on March 14, 2017 (π Day, 03/14) at Julius-Ambrosius-Hülße-Gymnasium. The paper explores various ways to determine the value of π. Since π is an irrational number, it cannot be calculated exactly, but only approximated. The paper presents experimental, simple, and algorithmic approximation methods. As an original contribution, I also developed my own algorithm.
A selection of the algorithms presented in the thesis is implemented in Python:
python scripts/coprime.py --amount 10000 --max_value 10
python scripts/geometric.py --iterations 10
python scripts/monte-carlo.py --amount 10000 --side_length 1
python scripts/chudnovsky.py