Question: Please write a MatLab program that solves the problem below. In trianglel a = 21 cm, b = 45 cm, and c = 60 cm.

Please write a MatLab program that solves the problem below. In trianglel a = 21 cm, b = 45 cm, and c = 60 cm. In triangle2 a=6 cm, b = 20 cm, and c = 16 cm. (angles are a (alpha). B (beta), y (gamma) a. Define the vectors a, b, and c with the above values. Calculate the angle y (in degrees) by substituting the variables in the Law of Cosines. (c^2=2^2+b^2-2abcosy) b. Calculate the angles B and a (in degrees) using the Law of Sines ( sinala = sin/b = sing/c) c. Make sure the sum of the angles is 180 by coding it in MatLab
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
