finite difference equation