A cylinder with a frictionless piston is placed horizontaly in an atmosphere of pressure 1.0×10^5N/m^2.A gas in the cylinder is initially at a temperature of 300K with a volume of 1.0 ×10^-3 m3.Then , the ags is heated slowly to a final temparature of 400k.How much work is done by the gas in this process?
The Attempt at a Solution
I used this approach though I very much think there is a better approach
PV=nRT ,which everything given(before the gas was heated) I calculated n.
using E=3/2nRT I got the Energy before and after the difference and got the difference which I assume is equal to the work done