In this example, the amplitude along a uniform, vibrating string is calculated after a specified amount of time has elapsed.
The calculation involves:
the amplitude on the y axis
i as the position index along the x axis
node points imposed along the string
update of the amplitude at discrete time steps