Once the magnetic field has been calculated, the magnetic force expressioncan be used to calculate the force. The direction is obtained from the right hand rule. Note that two wires carrying current in the same direction attract each other, and they repel if the currents are opposite in direction. The calculation below applies only to long straight wires, but is at least useful for estimating forces in the ordinary circumstances of short wires. Once you have calculated the force on wire 2, of course the force on wire 1 must be exactly the same magnitude and in the opposite direction according toNewton's third law
1 5 1