A small bar magnet of moment M is placed in a uniform field H. If magnet makes an angle of 30∘ with field, the torque acting on the magnet is