Solving a 2nd ODE using numerical methods

10 Ansichten (letzte 30 Tage)
Steven
Steven am 8 Okt. 2015
Bearbeitet: James Tursa am 8 Okt. 2015
Hi there,
A free-swinging pendulum with damping given by the equation:
theta''(t)+(c/m)*theta'(t)+(g/l)*sin(theta)
Given we know that c and m = 1 and l=0.5 and g = 9.81
How can I solve this as euler and huen's method.
We know the initial condition theta(0)=pi/4 and theta'(0)=0
  1 Kommentar
James Tursa
James Tursa am 8 Okt. 2015
Bearbeitet: James Tursa am 8 Okt. 2015
What have you done so far? Please make an attempt and post your code, and ask specific questions about where you are having difficulties. Then we can comment on it and make suggestions.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by