## How to calculate the magnetic field and pull force generated by current?!

Hallo all,

I've been looking around to find the best way to calculate the magnetic field generated by current flowing through copper wire... There were many sites I've found but its kinda confusing

One of the laws:

I thought it was simple to determine the magnetic field... Is there a way to calculate the pull force as well?!

 The strength of the magnetic field around a long, straight wire is: $\Large B=\frac{μ_{0}I}{2\pi r}$ B is the magnetic field in Tesla, μ0 is the permeability constant (1.26*10-6 T m/A), I is current in Amps, and r is distance from the wire in meters. The direction of the field is given by the following "right-hand rule": When you want to calculate for a wire that's not perfectly straight, this equation isn't valid, and you must use integration to account for an odd-shaped wire.
 Quote by Nessdude14 The strength of the magnetic field around a long, straight wire is: $\Large B=\frac{μ_{0}I}{2\pi r}$ B is the magnetic field in Tesla, μ0 is the permeability constant (1.26*10-6 T m/A), I is current in Amps, and r is distance from the wire in meters. The direction of the field is given by the following "right-hand rule": When you want to calculate for a wire that's not perfectly straight, this equation isn't valid, and you must use integration to account for an odd-shaped wire.