## Energy density in an inductor is:

Inversely proportional to magnetic field.

Directly proportional to square of magnetic field.

Directly proportional to magnetic field.

Inversely proportional to square of magnetic field