To solve this equation it is possible to separate it into two equations since the magnetic field just affects the movement along x and y axes. The total energy becomes then, the sum of two contributions ε ε = ε ε z + ε ε x y . The corresponding equations in z axis is: