Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics

Dashboard
Notifications
Mark all as read
Q&A

Method to calculate the area of a cyclic n-gon

+3
−0

The area of a cyclic quadriateral, given the side lengths, is given as follows: $$ \sqrt{(s-a)(s-b)(s-c)(s-d)} $$

(Brahmagupta's formula)

Where $ s = \frac{a+b+c+d}{2}. $

I want to find a similar expression, or a way of formulating an expression for a cyclic $n-gon$ given it's sides, since I want to implement it in a program.

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

2 comments

A cyclic $n$-gon can be broken into a bunch of disjoint cyclic triangles / quadrilaterals. This observation gives a simple algorithm to calculate the area of a cyclic $n$-gon. Note: this approach requires determining lengths of chords between vertices. gramps‭ 3 months ago

0 answers

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!