clear //given //find out power required to do in three cases: // w=150. d=8. Work=w*d printf("\n \n work necesary %.2f ft-lb",Work) //case(1) t1=2. power=Work/t1 Horsepower=power/550. printf("\n \n powe requiered for time %.2f ft-lb",power) //case(2) t2=8. power=Work/t2 Horsepower=power/550. printf("\n \n for power requiered at t2 %.2f ft-lb per sec",power)