Given: Number of turns in the solenoid is
a)
The magnetic moment along the axis of solenoid is given as,
Where,
By substituting the given values in the above equation, we get
The direction of this magnetic moment will be along the axis of the solenoid in the direction of the current (Using right hand screw rule to determine the direction of magnetic moment.).
Thus, the magnetic moment associated with the solenoid is
b)
Given: The magnetic field is
The torque acting on a solenoid is given as,
Where,
By substituting the given values in the above equation, we get
The force acting on a solenoid is given as,
Where,
Since, magnetic field is uniform throughout the solenoid, so the force at any small element of the solenoid comes out to be radially outweard and when added vectorially it will be zero. Thus, the force acting on the solenoid is
Thus, the torque and force on the solenoid is