In order to have a closed geometric figure composed of straight lines (Shown in figure), the angles in the figure must add to
(ð‘›−2)(180 ð‘‘ð‘’ð‘”ð‘Ÿð‘’ð‘’ð‘ )
Where n is the number of sides.
Prove this statement to yourself by creating a vector called n from 3 to 6 and calculating the angle sum from the formula. Compare what you know from geometry with your answer.
This question belongs to MATLAB software and discusses about application of MATLAB in mathematics and to calculate angle sum from the given formula.
Download Full Solution