So in a streak of curiocity only moments ago I decided to see if there was a Java applet that would allow me to leverage my computers power to calculate the value of pi. Or more accurately a estimation of pi since you can never exactly calculate pi…so indeed it does exist here as a Java Applet.
Now to compare your results to mine you will have to set everything to the following.
Precision: 1000000
Radix:10
Implimentation:ort.apfloat.internal.IntBuilderFactory
And use the Chudnovsky method
THINGS TO NOTE
This will use 100% of your computers core processor. Meaning it will leverage EVERYTHING you have to calculate this. I did this for fun so below are my results.
So I changed the Precision as follows
Precision: 100000000
Results follow
elapsed time 62.231 seconds
Final value took 12.676 seconds
Total elapsed time 74.916 seconds
Now to compare your results to mine you will have to set everything to the following.
Precision: 1000000
Radix:10
Implimentation:ort.apfloat.internal.IntBuilderFactory
And use the Chudnovsky method
THINGS TO NOTE
This will use 100% of your computers core processor. Meaning it will leverage EVERYTHING you have to calculate this. I did this for fun so below are my results.
3.829 seconds
Final value took 0.847 seconds
Total elapsed time 4.687 seconds
Final value took 0.847 seconds
Total elapsed time 4.687 seconds
So I changed the Precision as follows
Precision: 100000000
Results follow
elapsed time 62.231 seconds
Final value took 12.676 seconds
Total elapsed time 74.916 seconds
This shows me more than anything that computers are indeed incredible and shows me how far some things have come and how much extreme power we have at our fingertips these days. It is said that the first Apollo mission was done with less computing power than is available in today's standard graphing calculator. I ask you to reflect on this for a moment.