//Example 5-13 Hydroelectric Power Generation from a Dam Vdot = 100 //flow rate of water to a turbine [m^3/s] z_1 = 120 //total available head [m of water] h_L = 35 //head loss [m] eta_turbinegen = 80 //overall efficiency of unit [%] rho = 1000 //density of water [kg/m^3] g = 9.81 //gravitational acceleration [m/s^2]