Lesson 4 of 15
Ohm's Law
Ohm's Law
The most fundamental relationship in circuit analysis: voltage, current, and resistance are proportional.
V = IR qquad I = rac{V}{R} qquad R = rac{V}{I}
- V — voltage (volts, V)
- I — current (amperes, A)
- R — resistance (ohms, Ω)
Intuition
Think of current as water flow, voltage as pressure, and resistance as pipe narrowness. Doubling the pressure doubles the flow; doubling the pipe narrowness halves it.
Ohm's Law Triangle
Cover the quantity you want to find; the remaining two show how to compute it.
Examples
| V (V) | R (Ω) | I (A) |
|---|---|---|
| 12 | 4 | 3.0000 |
| 5 | 100 | 0.0500 |
| 230 | 46 | 5.0000 |
| 9 | 1000 | 0.0090 |
Your Task
Implement ohms_current(V, R) returning current in amperes.
Pyodide loading...
Loading...
Click "Run" to execute your code.