# Sine or cosine component of force on current carrying coil in a magnetic field

For calculating torque on a current carrying loop in a magnetic field, restoring torque that is, we use the $$\tau=\vec{m} \times \vec{B}$$ where $$\vec{m}$$ is the magnetic moment and $$\vec{B}$$ is the magnetic field.

It has been given that the angle by which the normal of the coil is deflected is $$30^{\circ}$$ with respect to the magnetic field lines. How would we calculate the torque on the coil in this case?

Similarly, talking about a bar magnet for example in the same magnetic field, the angle between the axis of the bar magnet and the magnetic field lines is given as $$30^{\circ}$$. Would this be different from the previous case in terms of the component of force being considered in each case?