clc //initialisation of variables F= 1500 //lb L= 54 //IN t= 12 //sec //CALCULATIONS hp= F*L/(t*6600) //RESULTS printf ('Horsepower expended at the output = %.2f hp',hp)