💻 Software
How can I generate Pi to a given number of decimal places from a script?
Fresh5 days ago
Mar 15, 20269783 viewsConfidence Score0%
0%
Problem
Does anybody have a script that I could easily run like: where 10000 is the number of generated π (Pi) decimal places.
Error Output
sh generatepi.sh 10000
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I generate Pi to a given number of decimal places from a script?
Low Risk
Assuming you have the (Basic Calculator) utility on your system, you could use the following command and a bit of good old mathematics to calculate π to 10,000 decimal places: This will probably take quite a while to complete for 10,000 decimal plac…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix