Simulation, Physics, Numerical Methods, Classical Mechanics, Computation.
theta1, theta1_velocity def theta2_update(m1,m2,l1,l2,theta1,theta2,theta1_velocity,theta2_velocity,g,time_step): theta2_velocity += time_step*theta2_acceleration(m1,m2,l1,l2,theta1,theta2,theta1_velocity,theta2_velocity,g) theta2 += time_step*theta2_velocity return theta2, theta2_velocity def