Carbon monoxide is allowed to expand isothermally and reversibly from 10 m3 to 20 m3 at 300 K and work obtained is 4.754 kJ. Calculate the number of moles of carbon monoxide.
w = −2.303nRT log V2/V1
−4754 = −2.303 × n × 8.314 × 300 × log 20/10
This gives n = 2.75 moles.