S
S
SeTeM2010-12-26 21:02:04
Python
SeTeM, 2010-12-26 21:02:04

Calculating pi with a certain precision?

The formula/code for a subject is necessary.
I read that there is a Gauss formula (high calculation speed), but I could not google it. In general, what exactly will be used is not so critical, but I would like to see the implementation of the Gauss formula.
It will be used in Python3 code, so I will be grateful if someone shares a ready-made solution.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rasa, 2010-12-26
@SeTeM

Is that not it?

V
Vladislav Ross, 2010-12-26
@gag_fenix

Yandex rules: algolist.manual.ru/maths/count_fast/pi.php
At the bottom of the page there is a C++ example for the Gauss formula.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question