Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A wave on a string is , with in m and in s. A crest is at m at . Find the wave speed, and find where that crest is at s.
A travelling wave is with and . Its speed is . A crest is where , so it moves at the speed . x[np.argmax(y)] finds the first crest in code.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. Read the numbers. rad/m and rad/s.
Step 2. The speed. m/s.
Step 3. The move. In s the crest moves m.
Step 4. The new place. m. The height there is m, so it is still a crest.
Answer: m/s, and the crest is at m.
Log in to join the discussion.
Loading…