Resistance summarizes how a material and geometry oppose charge flow. A lumped resistor model links voltage and current while hiding microscopic scattering of mobile charges by a material's structure, temperature, and defects. It is a useful component contract, not a claim that electrons queue up at a graphical zigzag.
current(voltage, resistance) from circuit-graph solving so a later diode, lamp, temperature model, or measured lookup table can replace the linear rule without rewriting topology code. Record sign convention for voltage and current, then derive power from them.For a uniform wire in the macroscopic approximation,
\[R= horac{L}{A},qquad P=VI=I^2R=rac{V^2}{R}\]ρ is resistivity in ohm metres, L is length, and A is cross-sectional area. This equation makes the hidden model inputs visible: a longer path raises resistance, while a wider conductive cross-section lowers it. It does not say individual carriers move through the wire at V/R; current is a charge-flow rate and power is energy-transfer rate.
The source stays at 12 V while resistance changes. Current is calculated by the constitutive law before the displayed power is derived.
Voltage 12 V; resistance 6.0 Ω; current 2.00 A; electrical power 24.0 W.
At a fixed 12 V, increasing R reduces ideal current as 1/R. The lab derives power after current, so its output exposes a common modeling mistake: P = V²/R falls when resistance rises at fixed voltage, while P = I²R falls when current is held fixed only under a different experimental constraint. Always say which source condition is being held constant.
Prediction: At fixed voltage, doubling resistance halves current and halves power; at fixed current, the power relation gives a different trend.
CompareR = 3 Ω and 6 Ω at 12 V, predict current and power before using the controls, then verify them. Write a positive-finite guard for a resistor helper. Finally set ρ, L, and A in a test fixture that doubles length and checks the resulting resistance ratio.Treat resistance as a validated constitutive parameter with material and geometry provenance, not a rendering property. Derive current and power under explicit source conditions, then state when temperature, frequency, or nonlinearity requires a richer element model.
Treat the lesson as a small function before treating it as a fact to memorize. Give every value a unit, keep only the state needed for the next step, and make the output easy to inspect.
\[\text{observable output} = f(\text{inputs},\,\text{state})\]For Resistance and Microscopic View, write down the quantities you can control, the values your program must retain, and the result a reader could inspect. In Currents and Circuits, the useful program is not the drawing: it is the smallest explicit model that makes a prediction you can test.
Prediction: changing one declared input while holding the others fixed should change only the outputs that the model connects to that input. Choose one input, predict the direction of change, then check a limiting case such as zero, a symmetric arrangement, or a familiar low-speed or small-change approximation.
This lesson is a teaching model, not a complete simulator. Before using it outside the stated question, check which interactions, scales, uncertainties, boundary conditions, and measurement limits it leaves out.
Treat Resistance and Microscopic View as a contract: named inputs and units enter a rule, the rule produces an observable result, and a known limit or invariant checks whether the implementation deserves trust.
Use validated resistance parameters and constitutive laws to derive compatible circuit branch current.