Displacement, Velocity and Acceleration

In this applet, you can enter a function in terms of time (t) to represent displacement. This will be represented on the right-hand side. Displacement is shown in the vertical direction from the origin. You can set the time period over which you want to view the displacement and show the corresponding velocity and acceleration, but try to work these out first by differentiating the displacement function.