Answer:
Here's what I get
Step-by-step explanation:
Assume that the piston is weightless and frictionless and has an area of 0.01 m², and that the cylinder contains 0.001 m³ of air at 1 bar.
Then the gas is slowly heated, making the gas expand and force the piston up until the volume is 0.002 m³.
The gas is doing work, because it is pushing back against the pressure of the atmosphere in order to expand. The sign is negative, because of the thermodynamic convention that anything going out of the system is negative.
How much work has the gas done?
w = F × d, and
p = F/A, so
F = p × A. Then
w =p × A × d
A × d is the change in volume (ΔV) swept out by the piston as the gas expands. Thus
w = -pΔV (negative sign because of the convention)
= -1 × 10⁵ Pa × 0.001 m³ =-100 Pa·m³ = -100 J
The gas has done 100 J of work by expanding against an external pressure.