Calculate pi

Calculate decimals of pi with Machin's formula
58 Downloads
Aktualisiert 16 Apr 2019

Lizenz anzeigen

MACHIN(M) gives a string with pi truncated to M decimals
using Machin's formula: pi = 16*acot(5) - 4*acot(239)

Zitieren als

Jonas Lundgren (2024). Calculate pi (https://www.mathworks.com/matlabcentral/fileexchange/71224-calculate-pi), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2017b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Tags Tags hinzufügen
pi

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0