Lecture 4 Visualization and Animation 1 Use Mathematica

  • Slides: 35
Download presentation
Lecture 4 Visualization and Animation 1

Lecture 4 Visualization and Animation 1

Use Mathematica to visualize the motion of physical systems 2

Use Mathematica to visualize the motion of physical systems 2

Simple examples n

Simple examples n

Parametric equations n 4

Parametric equations n 4

Examples of parametric equations n

Examples of parametric equations n

Derivation of the equation of motion for SHO Force on the pendulum for small

Derivation of the equation of motion for SHO Force on the pendulum for small oscillation, Equation of motion (Eo. M) l r

Animation of simple pendulum 7

Animation of simple pendulum 7

Examples of parametric equations: n projectile motion 2 D

Examples of parametric equations: n projectile motion 2 D

Animation of 2 D projectile 10

Animation of 2 D projectile 10

Examples of parametric equations: 2 -body Planetary motion a b C(h, k) n

Examples of parametric equations: 2 -body Planetary motion a b C(h, k) n

Animation of planetary orbital motion 12

Animation of planetary orbital motion 12

Assignments n

Assignments n

1 D sinusoidal wave n 14

1 D sinusoidal wave n 14

1 D sinusoidal wave n 15

1 D sinusoidal wave n 15

1 D sinusoidal wave n 16

1 D sinusoidal wave n 16

 17

17

Adding two 1 D sinusoidal waves n 18

Adding two 1 D sinusoidal waves n 18

Animation exercises

Animation exercises

 20

20

 21

21

 n 22

n 22

Animation of wavepulse 23

Animation of wavepulse 23

2 D radially symmetric wave n 24

2 D radially symmetric wave n 24

Animation assignment Animate an radially outgoing 2 D sinusoidal wave To visualize it, use

Animation assignment Animate an radially outgoing 2 D sinusoidal wave To visualize it, use List. Density. Plot[ ] You may need to impose the option Interpolation. Order -> 0 in List. Density. Plot[ ]

Sun-Earth-Moon planetary motion n a b C(h, k) 26

Sun-Earth-Moon planetary motion n a b C(h, k) 26

 27

27

Simplified Sun-Earth-Moon threebody planetary motion n a b C(h, k) 28

Simplified Sun-Earth-Moon threebody planetary motion n a b C(h, k) 28

Animation of three-body planetary motion

Animation of three-body planetary motion

Assignment: oscillating string Simulate the oscillating string as shown. 30

Assignment: oscillating string Simulate the oscillating string as shown. 30

 31

31

Example of a periodic function with Mathematica using Module n 32

Example of a periodic function with Mathematica using Module n 32

Exercise n 33

Exercise n 33

Lissajous pattern https: //en. wikipedia. org/wiki/Lissajous_curve n 34

Lissajous pattern https: //en. wikipedia. org/wiki/Lissajous_curve n 34

Animation of Lissajous pattern 35

Animation of Lissajous pattern 35