Solving the track wall equation by the finite difference method