clc clear //Initialization of variables z=100 //ft m=32.1739 //lbm //calculations PE=m*z //results printf("Potential energy = %.2f ft-lbm",PE)