clc clear //Initialization of variables dh=3 //in L=12 //in g=32.2 //ft/s^2 //calculations a=dh/L *g //results printf("Acceleration = %.2f ft/s^2",a)