How to play Piston Budget
- Choose a test and read the heat, the work, or the pressure and volumes on the card.
- Give each energy its sign, then use ΔU = Q − W, with W = p·ΔV at constant pressure.
- Type your prediction and press Start. The heater and piston act, and the bars fill.
- Compare the bars and the shaded area with your orange prediction.
The first law: energy bookkeeping for a gas
A gas holds energy in the random motion of its molecules, its internal energy U. There are only two ways to change it: heat Q flowing in or out because of a temperature difference, and work W done when the gas pushes a piston out or is pushed in. The first law of thermodynamics is the conservation of energy written for that case: ΔU = Q − W, with Q counted positive into the gas and W positive when the gas does the work. Many textbooks count work done on the gas instead and write ΔU = Q + W; the bookkeeping is the same, only the sign of W flips. At constant pressure the work is p·ΔV, which on a p–V diagram is the area under the path: an expanding gas spends energy as work, so to warm it the same amount you must supply more heat. An insulated gas exchanges no heat, so any work done on it goes straight into its internal energy; that is why a bicycle pump gets hot. Q and W depend on how the gas gets from one state to another, but ΔU depends only on the start and the end.
A focused learning model
The gas is ideal and monatomic, so U = 3/2·p·V; in the first two tests only the heat and work are given, and they are applied steadily. Work at constant pressure is p·ΔV; the pump's compression is adiabatic, p·V^(5/3) constant, with Q = 0. Q is counted positive into the gas and W positive when the gas does the work, so ΔU = Q − W; with W counted on the gas the same law reads ΔU = Q + W. Each process runs steadily over 2 s and the run holds to 3 s. Answers within 2% are right.