Calculate mass, energy, entropy, and exergy balances for the following devices:
(a) an adiabatic steam turbine,
(b) an air compressor with heat loss from the air to the surroundings,
(c) an adiabatic nozzle, and
(d) a diffuser with heat loss to the surroundings.