Solve the below problem:
Q: A small dam has a pipe carrying liquid water at 150 kPa, 20?C with a flow rate of 2000 kg/s in a 0.5 m diameter pipe. The pipe runs to the bottom of the dam 15 m lower into a turbine with pipe diameter 0.35 m. Assume no friction or heat transfer in the pipe and find the pressure of the turbine inlet. If the turbine exhausts to 100 kPa with negligible kinetic energy what is the rate of work?