Rankine Cycle

A simple ideal Rankine cycle operates such that the condenser produces saturated water 70 degrees celsius. Water is compressed to 5 MPa and heated in the boiler to produce saturated steam. Assume Pump and turbine to operate isentropically, Calculate(a) the mass flow rate(lbm/s) of steam required to produce 500 kW net power using this cycle? (b) Also, if the thermal efficiency of the cycle is 25%, Calculate the steam quality leaving the turbine. Assume the operation of the pump remains isentropic and accounts for the irreversibilities in the turbine.