## Energy density in an inductor is:

Directly proportional to magnetic field.

Directly proportional to square of magnetic field.

Inversely proportional to magnetic field.

Inversely proportional to square of magnetic field.