Inductance L is the property of a conductor that opposes changes in current by generating a back emf: emf_L = -L(dI/dt). For a solenoid, L_sol = μ_core N² A / ℓ, so inductance increases with more turns, larger cross-sectional area, shorter length, and higher core permeability. Straight wires are modeled as having zero inductance. An inductor stores energy in its magnetic field: U_L = (1/2)LI². That stored energy can later be dissipated through a resistor or transferred to a capacitor.
A solenoid has 500 turns, length 0.2 m, cross-sectional area 4 × 10⁻⁴ m², and an air core. Calculate its inductance and the energy stored when 2 A flows through it.