The correct option is B 12nRT
Since the gas is enclosed in a vessel, during the heating process, volume of the gas remains constant. Hence, no work is done by the gas. It means heat supplied to the diatomic gas is used to increase its internal energy only.
Initial internal energy of the gas is
U1=N(52R)T=52NRT
Since n moles get dissociated into atoms, after heating, the vessel contains (N−n) moles of diatomic gas and 2n moles of monoatomic gas. Hence, the internal energy of the gas after heating will be equal to
U2=(N−n)(52R)T+2n(32R)T=52NRT+12nRT
Hence, heat supplied = Increase in internal energy
=(U2−U1)=12nRT
Thus, option (b) is the correct answer.