Problem 3

Consider a guitar string of length 61 cm, density 3.09 kgm1 and tension 56.4 N that is struck by a pick 53.4 cm from the top of the guitar, imparting an instantaneous velocity of 50 ms1 to that area of the string. Use the fourth order Runge-Kutta method to simulate the evolution in time of the wave along this string, and display it using the FuncAnimation function from matplotlib’s animation module.