this code takes input and animates the wave

According to the given initial conditions a wave is generated using matplotlib