Question 1
What is the equivalent capacitance between P and Q?

Main Solution
Strategy
Trace the relevant Java expressions and loop bounds in execution order. The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF.
Key Insight
The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF.
Choice Analysis
Choice A - Incorrect - Physics reasoning: This choice does not match the result. The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF.
Choice B - Correct ✓ - Physics reasoning: The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF.
Choice C - Incorrect - Physics reasoning: This choice does not match the result. The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF.
Choice D - Incorrect - Physics reasoning: This choice does not match the result. The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF.
Choice E - Incorrect - Physics reasoning: This choice does not match the result. The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF.
A
B
C
D
E
Teacher Explanation
Apply the rule: Trace the relevant Java expressions and loop bounds in execution order. The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF. The correct answer is B. The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF.
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.
Review tip: check units, vector directions and whether the limiting behavior makes physical sense.
Traps
Choice A: This choice does not match the result. The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF. Check: Trace the relevant Java expressions and loop bounds in execution order. The two 30 μF capacitors are parallel, giving 60 μF; the two 20 μF capacitors give 40 μF. These groups are in series: C_eq=60×40/(60+40)=24 μF.
Answer images

