If the wire is not straight, the force on it can be computed by applying this formula to each infinitesimal segment of wire d ℓ ℓ , then adding up all these forces by integration. This results in the same formal expression, but ℓ should now be understood as the vector connecting the end points of the curved wire with direction from starting to end point of conventional current. Usually, there will also be a net torque.