나는 이렇게 학습한다/Algorithm & SQL
Sum of angles
daco2020
2022. 6. 22. 18:15
Find the total sum of internal angles (in degrees) in an n-sided simple polygon. N will be greater than 2.
Solution:
SELECT
180 * (n - 2) AS res
FROM
angle
The sum of the interior angles of an n-gon is 180˚× (n-2).
Result:
res |
9720 |
12960 |
10080 |
15660 |
12780 |
5400 |
16920 |