Wave Equation
1. Write a simulation of wave motion on a string with the following conditions:
- The string is one meter long.
- The string's mass is 10 grams.
- The string tension is 5 N.
- Use a free-end boundary condition. That is, y(1,n) = y(2,n) and y(N,n) = y(N+1,n).
- The initial displacement is a Gaussian wave. Set up such a wavepacket that does NOT split up into two pieces. That is, you need to specify the displacement to the right of the proper distance. Hint: you need to calculate the wave speed via the formula . Then change the center position of the Gaussian function to the right by .