You will write the equation of a travelling wave as functions, and then show that the pattern moves along at the speed .
The idea. A wave moving towards is , with and . A snapshot taken a time later is the same shape, moved on by .
Your tasks.
wave_number, return for the wavelength lam.displacement, return at the place x and the time t.wave_speed, return the speed of the wave from k and w.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…