The amount of entropy generation is given by
Answer: C
Here (S2-S1) is the entropy change of the system and ∫(dQ/T) is the entropy transfer.