The reaction is
Electrical work is non-PV work so we need a . For this reaction
The reaction is just the formation reaction for liquid water so . Pure water is produced so . For the two gases, so and . Therefore
1kg of hydrogen is
The maximum electrical work which can be produced by this quantity of hydrogen is therefore