@@ -1919,7 +1919,7 @@ Archimedes, in finding bounds on the value of $\pi$ used $n$-gons with sides $12
|
||||
```{julia}
|
||||
#| hold: true
|
||||
x = r * tan(theta/2)
|
||||
n = 2PI/theta # using PI to avoid floaing point roundoff in 2pi
|
||||
n = 2PI/theta # using PI to avoid floating point roundoff in 2pi
|
||||
# C < n * 2x
|
||||
upper = n*2x
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user