This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
Hi students!
Here is your answer!

The required formula of potential energy of a magnetic dipole is;

U = -M.B

The magnetic field is that energy which possessed by the dipole because of its position in the field is known as potential energy of a magnetic dipole. Moreover, the magnet cannot influence with the electric field.
Hope it will work.