The force on a charged particle moving in a magnetic field can be computed as the vector sum of the force due to each separate component of the magnetic field. As an example