clc //initialisation of variables F= 1500 //lb t1= 10 //sec F1= 1200 //lb //CALCULATIONS t2= F*t1/F1 //RESULTS printf ('time required to raise the load = %.1f sec',t2)