A toroid has a rectangular cross section. Show that the self-inductance is
L = μ 0 N 2 h 2 π ln r 2 r 1 {\displaystyle L={\frac {\mu _{0}N^{2}h}{2\pi }}\ln {\frac {r_{2}}{r_{1}}}}
where N {\displaystyle N} is the total number of turns and r 1 {\displaystyle r_{1}} , r 2 {\displaystyle r_{2}} , and h {\displaystyle h} are shown above. [Hint: Use Ampère’s law to get B {\displaystyle B} as a function of r {\displaystyle r} inside the toroid, and integrate.]
∮ B → . d l → = μ 0 I encl {\displaystyle \oint {\vec {B}}.d{\vec {l}}=\mu _{0}I_{\textrm {encl}}}