1 2 3 4 5 6 7 8 9 10
clc clear //Initialization of variables gc=32.1739 //lbm ft/lbf s^2 m=10 //lbm a=10 //ft/s^2 //calculations F=m*a/gc //results printf("Force to accelerate = %.3f lbf",F)