Lesson 14 of 15

LC Resonant Frequency

LC Oscillator

An inductor (L) and capacitor (C) in series or parallel exchange energy back and forth at a natural resonant frequency:

f = rac{1}{2pisqrt{LC}}

  • f — resonant frequency (Hz)
  • L — inductance (H)
  • C — capacitance (F)

The Energy Seesaw

The capacitor stores energy in its electric field (E = rac{1}{2}CV^2); the inductor stores energy in its magnetic field (E = rac{1}{2}LI^2). At resonance they alternate — like a pendulum swapping kinetic and potential energy — at frequency f.

Relation to the Pendulum

LC CircuitPendulum
Charge qDisplacement x
Inductance LMass m
1/CSpring constant k
f = rac{1}{2pisqrt{LC}}f = rac{1}{2pi}sqrt{ rac{k}{m}}

Radio Tuning

Tuning a radio dial changes C in an LC circuit, selecting the resonant frequency that matches the desired station.

Examples

L (H)C (F)f (Hz)
1×10⁻³1×10⁻⁶5032.92
1×10⁻²1×10⁻⁴159.15
0.11×10⁻³15.92
1×10⁻³1×10⁻⁷15915.49

Your Task

Implement lc_resonance(L, C) returning the resonant frequency in Hz.

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