- #1
- 123
- 0
I need to write a program that calculates the value of pi to 10 decimal places by using 'Archimedes Method'.
Archimedes concluded that:
n*sin(theta/2) < pi < n*tan(theta/2)
Basically, I need some help. Anyone got any ideas or any code just to get me started. I'm clueless at the moment.
Thanks in advance
Archimedes concluded that:
n*sin(theta/2) < pi < n*tan(theta/2)
Basically, I need some help. Anyone got any ideas or any code just to get me started. I'm clueless at the moment.
Thanks in advance