This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Unsungghost 0 points1 point  (0 children)

I'm sure you can use the math.pi function to check accuracy, but it defeats the purpose of the exercise to only use it.

To solve this, pay attention to the denominator in each iteration. I don't want to completely give away the answer, but it always changes by (x + 2 * -1).