Question 1
For an ideal gas at constant temperature, which plot produces a straight line?
Main Solution
Strategy
Trace the relevant Java expressions and loop bounds in execution order. PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume.
Key Insight
PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume.
Choice Analysis
Choice A - Incorrect - Physics reasoning: This choice does not match the result. PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume.
Choice B - Incorrect - Physics reasoning: This choice does not match the result. PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume.
Choice C - Incorrect - Physics reasoning: This choice does not match the result. PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume.
Choice D - Correct ✓ - Physics reasoning: PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume.
Choice E - Incorrect - Physics reasoning: This choice does not match the result. PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume.
A
B
C
D
E
Teacher Explanation
Apply the rule: Trace the relevant Java expressions and loop bounds in execution order. PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume. The correct answer is D. PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume.
Education Coach Advice
First, identify the system, known quantities and applicable physical law.
Check the data: Trace the relevant Java expressions and loop bounds in execution order.
Avoid this error: This choice does not match the result. PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume.
Review tip: check units, vector directions and whether the limiting behavior makes physical sense.
Traps
Choice A: This choice does not match the result. PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume. Check: Trace the relevant Java expressions and loop bounds in execution order. PV=nRT is constant, so P=nRT(1/V), directly proportional to reciprocal volume.
Answer images



