The field of an electromagnet is given by B = 0.02 + 0.0115z2, with B in tesla and z = distance in cm from the north pole of the magnet. A magnetic dipole whose moment has magnitude 1.34 x 10 -23 amp-m2 is located 8.00 cm from the north pole, the dipole moment vector at 40° to the local magnetic field direction. What are
(a) the torque on the dipole,
(b) the force on the dipole, and
(c) the energy released if the magnetic dipole is turned parallel to the field?