I know you can estimate the area of a circle by inscribing N-gons in the circle with higher and higher values on N. I tried this multiple times, but it didn't work out for me. Can anyone tell me what I'm doing wrong?

I use a circle with radius 1. I start by making a triangle out of two radii and a side of the polygon. I then draw an altitude from the center of the circle to the side of the triangle, bisecting the angle. The new angles I name $\displaystyle \theta$. The altitude I call y, and I call the base z. The area of the triangle is A. So,

$\displaystyle \theta=\frac{180}{x}$

$\displaystyle \cos \theta=y$

$\displaystyle \sin \theta=z$

$\displaystyle \frac{zy}{2}=A$

Now, since we can find A, the total area should be $\displaystyle 2xA$.

Also, $\displaystyle \pi=2xA$ since r=1.

Therefore, the area of the circle should be the limit as x approaches infinity of

$\displaystyle 2xA=xyz=x\cos\theta\sin\theta=x\cos\frac{180}{x}\s in\frac{180}{x}$

However, this keeps giving me 180. If this were $\displaystyle \pi$, this would be right. But it's not, so it's not. And if it's wrong then I'm wrong. And if it's wrong I'm doing something wrong.

So what am I doing wrong?