//Initilization of variables //Simplification constants a=90 b=30 c=60 //Calculations //Allowing for only the cos and sin terms to be zero after simplification theta1=atand(a/(b+2*c)) //degrees theta2=atand(a/(b+c)) //degrees theta3=atand(a/b) //degrees //Result clc printf('The values of theta1,theta2 and theta3 are %f,%f and %f respectively in Degrees',theta1,theta2,theta3)