Calculating Pi is a project for the calculation of the mathematical constant Pi through various methods. Mathematicians and programmers are encouraged to contribute ideas or code for this project.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.
Um mau método que foi usado anteriormente para fazer o programa de dormir por um tempo, foi substituído por uma versão que usa usleep () para o sincronismo.
Tags:
Simple Harmonic Motion, Major bugfixes
A bad method that was previously used to make the program sleep for a while has been replaced with a version that uses usleep() for timing.
Neste ramo, as distâncias entre muitos pontos consecutivos na circunferência são adicionados para o primeiro quadrante, ea soma é multiplicada por 4 para obter o valor aproximado da circunferência do círculo. O valor obtido é dividido por duas vezes o raio, eo valor aproximado de Pi é obtido como a saída.
In this branch, the distances between many consecutive points on the
circumference are added for the first quadrant, and the sum is
multiplied by 4 to get the approximate value of the circumference of
the circle. The obtained value is divided by twice the radius, and the
approximate value of Pi is obtained as the output.
Esta é a versão do simulador visual para a calculadora Pi usando SHM. Ela simula SHM sem usar funções trigonométricas, e apresenta-o como n º s na tela. Ele não calcula o valor de Pi.
This version is the visual simulator for the Pi calculator using SHM. It simulates SHM without using trigonometric functions, and displays it as #s on the screen. It does not calculate the value of Pi.