1. The problem statement, all variables and given/known data The assignment is to compute the motion of a pendulum in C. The relevant information is listed in this document: http://home.orange.nl/~kuip3148/pendulum.c It says which values to use for the variables, the relevant equations and has the value of NSTEPS, DT and PRINTEVERY. I have a step by step guide to solving this problem as well in Mathematica: http://home.orange.nl/~kuip3148/Pendulum-assignment.nb 3. The attempt at a solution The first thing I need to do is make a loop that runs NSTEPS times. Given my total lack of C knowledge, I run into a problem straight away. How can I make such a loop?