Simple pendulum sinusoidal graph using Euler-Cromer

I need to show how the Euler method is unstable in comparison to the Euler-Cromer method by showing how a pendulum will continue to gain energy. This is my first coding class so I am having trouble coming up with how to do this.

Réponses (1)

Max M
Max M le 25 Fév 2015

0 votes

i am mostly having trouble with the for loop

Produits

Question posée :

le 25 Fév 2015

Réponse apportée :

le 25 Fév 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by