We need to develop a recursive algorithm based on Euclid's proof of XII-2:

Euclid's Elements, Book XII, Proposition 2

It needs to be used to approximate the area of the circle of radius. I understand that we are successively inscribing n-gons, but I don't know how to represent this by recursion. Any ideas? Thanks.