emblem
Simple pendulum
Pendulum with possible damping
2024.Jul.03 18:21:39
tf, h s ([T]) Final integration time and increment. •
n Order of ODE (must be 2). •
Mass, length kg, m ([M], [L]) Mass and length of pendulum.
r kg/s ([M][T]−1) Resistance and length of pendulum. •
φ0, φ'0 rad, rad/s (rad, rad/[T]) Initial values of φ and φ'. •
Show values Shows the coordinates of the graph. •

Solves the ODE of a pendulum with damping (no damping if r is given as zero) through a RK4 numerical integration. The equation, with angle φ vs. time, t, is m l φ" + r l φ' + m g sin(φ) = 0 . (Further on, it may be xφ .)

NB: it is always g = 9.8 m ⁄ s² .

A plot is shown for: angle, φ, its derivative, φ'; and the small amplitude (φ*) solution.

Other suggested values: r = 0 (no damping), φ0 ≤ (⪅) 0.05 (i.e., "small"), φ'0 = 0, giving coincident φ* ≅ φ.

References: Plate: PendulumDamped

• Wikipedia: Pendulum Pendulum (mathematics)

Unicode characters (Symbol, Math)

• 1625-08-13: Bartholin, Erasmus (1698-11-04).

 
 
Valid HTML 4.01! IST http://web.ist.utl.pt/~mcasquilho/compute/com/Fx-pendulumDamp.php
Created: 2015-08-13 — Last modified: 2015-09-13