sentence: example the motion of a spring satisfying hooke 's law is given by the semi-implicit euler for this equation is the iteration preserves the modified energy functional exactly , leading to stable periodic orbits ( for sufficiently small step size ) that deviate by from the exact orbits .