Problem 45924. Polygon Interior Angle Sum
Given the number of sides of a regular polygon, find the sum of interior angles.
Return 0 for input for which regular polygon are not defined.
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 8 Nov 2022
A good test for the suite would be [0, -2, 3, 0, 10, pi]
Solution Comments
Show commentsProblem Recent Solvers36
Suggested Problems
-
Calculate the area of a triangle between three points
3275 Solvers
-
Generate N equally spaced intervals between -L and L
909 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
12857 Solvers
-
555 Solvers
-
307 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!