clear all; clc; disp("Ex 4_2") //The multiplicand indicates the amount of force and the multiplier indicates the distance from the point "O" in all the figures //Refer figure 4-5 a=800*2.5 printf('\n\nM_A = %.0f Nm clockwise',a) b=800*1.5 printf('\n\nM_B = %.0f Nm clockwise',b) c=800*0 printf('\n\nM_C = %0.0f Nm (This happens because the line of action of force F passes through pt.C)',c) d=800*0.5 printf('\n\nM_D = %0.0f Nm anti-clockwise',d)