Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 324 Bytes

File metadata and controls

6 lines (5 loc) · 324 Bytes

pendulums_simulation

This code simulates n mathematical pendulums (bobs hanging by a massless thred), all hanging from the same pivot with different lengths.

all have the same initial angle and angular speed (which can be determined in the start method). changing the number of pendulums is done by changing n (1st line)