//Example 5-12 Pumping Power and Frictional Heating in a Pump Wdot_electric = 15 //power rating of motor [kW] eta_motor = 90 //efficiency of motor [%] Vdot = 50 //water flow rate through pump [L/s] P_1 = 100 //pressure at inlet of pump [kPa] P_2 = 300 //pressure at outlet of pump [kPa] rho = 1000 //density of water [kg/m^3] c = 4.18 //Specific heat of water [kJ/kg.K]