Calculate pi
Version 1.0.0 (1,51 ko) par
Jonas Lundgren
Calculate decimals of pi with Machin's formula
MACHIN(M) gives a string with pi truncated to M decimals
using Machin's formula: pi = 16*acot(5) - 4*acot(239)
Citation pour cette source
Jonas Lundgren (2024). Calculate pi (https://www.mathworks.com/matlabcentral/fileexchange/71224-calculate-pi), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |