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 Solvers33
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2052 Solvers
-
Get the length of a given vector
10268 Solvers
-
07 - Common functions and indexing 6
443 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
368 Solvers
-
344 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!