Example of animation: y= sin x and y = sin 2x
Click on 'Plot' to see the animation of functions and 'Init' to restart it