Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Python implementations of various algorithms for approximating the mathematical constant Pi (π), as presented in a German high school term paper. Includes experimental, geometric, probabilistic, and algorithmic methods.

Notifications You must be signed in to change notification settings

SoWieMarkus/facharbeit-gymnasium

Repository files navigation

Facharbeit – Approximation der Kreiszahl Pi (π) & aktuelle Diskussionen zum Thema

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.

  • Die Facharbeit kann hier gelesen werden.
  • Die Präsentation zur Verteidigung ist hier verfügbar.

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

Approximation of Pi (π) & Current Discussions

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.

  • The thesis (in German) can be read here.
  • The defense presentation is available here.

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

About

Python implementations of various algorithms for approximating the mathematical constant Pi (π), as presented in a German high school term paper. Includes experimental, geometric, probabilistic, and algorithmic methods.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages