(a) Potential energy $U = - MB\cos\theta$ $\Rightarrow U_{\max} = MH\ $[at$\ \theta = 180{^\circ}\rbrack$
Physics Educator & NEET/JEE Specialist
Ph.D. in Physics with 19+ years of teaching experience.