When a bar magnet is placed in a uniform magnetic field at an angle 30∘ to the direction of field, it experiences a torque of x Nm. The same magnet experiences a torque of √3 Nm when it makes an angle of 45∘ to the field. Find the value of x (in Nm).