Errors in measurement of a magnetic field versus accuracy of computed particle trajectories. A system analysis