Icon
 

Potential energy of a bar magnet in a uniform magnetic field