CMM-22 / a6

0 stars 0 forks source link

circular motion ex 10 #3

Open samibouziri opened 2 years ago

samibouziri commented 2 years ago

in exercice 10, we the same energy function O I am getting an elliptical motion (nearly circular) with h =0.033 and K =32 and a circular motion with h = 0.01 and K=96 (i divided by 3 the h and multiplied by 3 the number of frames to obtain the same trajectory) . I wanted to know if the problem is with my energy function or with the integration scheme.

MiguelZamoraM commented 2 years ago

As long as the spaceship stays in orbit if you keep the simulation running for more than K steps, it should be considered a good solution.