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

V=IRV = IR

Cover the quantity you want to find; the remaining two show how to compute it.

Examples

V (V)R (Ω)I (A)
1243.0000
51000.0500
230465.0000
910000.0090

Your Task

Implement ohms_current(V, R) returning current in amperes.

Pyodide loading...
Loading...
Click "Run" to execute your code.