Hello, Quick!

I was trying to find an equation to find the area of any regular polygon

and I came up with this:

= number of sides

= length of each side

and

is degrees

I think this equation works but I'm not sure . . . does it?

. . . Yes! I think I know how you reasoned this out . . . *Nice work!* Code:

A
*
/:\
/ : \
/ θ:θ \
/ : \
/ :h \
/ : \
/ : \
* - - - * - - - *
B D s/2 C

We have isosceles triangle as shown above.

The height of the triangle is:

The area of the triangle is:

And triangles have an area of: