integer fractions like (1/2) become zero. remove the last ones from pendulum.c