Let's start out with p=0,v=10,a=0.
Hit the run button?
What is the position of the cow at t=3 seconds?
What is the velocity of the cow at t=3 seconds?
Now set p=5,v=5, and a = 1.
What is the position of the cow at t=3 seconds?
What is the velocity of the cow at t=3 seconds?
Finally, for a some value of p and v. Determine what value of acceleration (a) will cause the cow to turn around right when it gets to the right hand side of the screen (p=60). What is the total travel time of the cow?
Try to reproduce these results, using your numbers by noting that:
The velocity as a function of time is:
v(t) = vo + at
The total displacement, x (which is p in the above) is given by
x = vot + 1/2at2