// problem 10.6 Q=0.04 Hm=30 n=0.75 w=9810 p=w*Q*Hm/1000 P=p/n disp(P,p,"output power of the pump,power required to drive the motor")