A steam turbine takes in steam, with specific enthalpy 3095 kJ/kg, the steam leaves the turbine with specific enthalpy 2660 kJ/kg, work output is 0.5 MW, If heat losses from the turbine are 120 kW, determine

a) the mass flowrate of the steam.
b) the work output per kilogram , assume that kinetic-energy and potential-energy changes are negligible.