I made an nth degree pendulum, but it moves very fast. This means there is something wrong with the equations of motion:
for (int i = 1; i