Question 30905
The magnetic field is directed along the axis of solenoid. General formula for Amperes law is , but for given wire since wire is straight ( is directed along the wire, and ). Opening the cross product gives sine of the angle, which is equal to 1 because angle between and is 90 degrees.
Hence, the magnitude of the force is .