Consider a long solenoid of length l and radius r. If n is the number of turns per unit length and $\mu_0$ is the permeability of free space, the inductance of the solenoid is: