$8$ Water enters a pump at $100 \mathrm{kPa}$ and $30^{\circ} \mathrm{C}$ at a rate of $1.35 \mathrm{~kg} / \mathrm{s}$ and leaves at $4 \mathrm{MPa}$. If the pump has an isentropic efficiency of 70 percent, determine $(a)$ the actual power input,
(b) the rate of frictional heating, (c) the exergy destruction, and
(d) the second-law efficiency for an environment temperature of $20^{\circ} \mathrm{C}$