8.7 Physics Project: the pendulum 267
-4
-3
-2
-1
0
1
2
3
4
0 20 40 60 80 100
θ
tˆ
Fig. 8.10Plot ofθas function of timeτwithQ= 2 ,ωˆ= 2 / 3 andAˆ= 1. 35. The mass of the pendulum is set
equal to 1 kg and its length to 1 m. The inital velocity isvˆ 0 = 0 andθ 0 = 0. 3. Every timeθpasses the value±π
we reset its value to swing betweenθ∈[−π,pi]. This gives the vertical jumps in amplitude.
-2
-1.5
-1
-0.5
0
0.5
1
1.5
-20 -15 -10 -5 0 5
vˆ
θ
Fig. 8.11Phase-space curve after 10 periods withQ= 2 ,ωˆ= 2 / 3 andAˆ= 1. 35. The mass of the pendulum is
set equal to 1 kg and its lengthl= 1 m. The inital velocity isvˆ 0 = 0 andθ 0 = 0. 3.