Solve the below problem:
Q: Hydrogen peroxide, H2O2, enters a gas generator at 25°C, 500 kPa at the rate of 0.1 kg/s and is decomposed to steam and oxygen exiting at 800 K, 500 kPa. The resulting mixture is expanded through a turbine to atmospheric pressure, 100 kPa. Determine the power output of the turbine, and the heat transfer rate in the gas generator. The enthalpy of formation of liquid H2O2 is -187 583 kJ/ kmol.