*************************************
What is your assignment?

1) Execute the Sample Problem #1 (Constant Velocity), and answer the questions at the end.

2) I have duplicated Sample Problem #1. 
Your mission (should you choose to accept) is to 
modify this problem so that it is a problem of CONSTANT ACCELERATION. Use a=10.

*****************************
1)Sample Problem: Constant Velocity

*************************************
Part A) Position

First, let's start by clearing all the variables.

Clear["Global`*"]

Let's start by defining a function for the postition x.

x[t_]= x0 + v0 t

Note how we use the notation t_ with the underscore "_" to tell Mathematica that t is a dummy variable.  To see what I mean, try:

x[2]

Now we pick values for x0 and v0.

v0=5;
x0=0;

Now, x[t] at t=2 is a number.

x[2]

We can now make a plot of x[t] vs. t for times from t=0 to t=5. Note how I turn on the GridLines.

Plot[ x[t] ,{t,0,5}, GridLines->Automatic];

We can find the total distance traveled in 2 ways. 
First, we can just read the answer off the graph. 
Second, we can evaluate

x[5]-x[0]

Both methods give 25 meters.

*************************************
Part B) Velocity

We can use the fact that v = dx/dt. Let's make a function v[t] using this definition. We start by clearing the previous definitions of x0 and v0 so we can see the formula in terms of symbols and not numbers.

Clear[x0,v0]

v[t_]=D[x[t],t]

The answer is that v[t]=v0, a constant. 
(We already knew this since this was a constant velocity problem, but we used Mathematica to double check.)
Now let us set x0 and v0 to our previous values.

v0=5;
x0=0;

and plot the velocity. 
Note, I have added some extra lines to the plot command to make it look nice.
(If you like, experiment by taking out certain parts to see what each does.)

Plot[ v[t] ,{t,0,5}
           ,GridLines->Automatic
           ,PlotRange->{0,6}
           ,PlotStyle->{Thickness[0.020]}];

The velocity curve is supposed to be the slope of the distance (x[t]) curve. Is this true? 
Show this by marking on the plot of x[t] and v[t]

The distance traveled is supposed to be the area under the velocity curve. Is this true? 
How much distance is represented by each square grid on the graph???
By counting the grid squares under the curve (estimat this) comput the distance traveled from t=0 to t=5??? From t=2 to t=4???

Calculate directly the distance traveled from t=0 to t=5??? From t=2 to t=4???  Compare with what you got by counting the grids.

*****************************
2)  Problem: Constant Acceleration
Things have to be added!!!
This is not the complete answer!!!

*************************************
Part A) Position

First, let's start by clearing all the variables.

Clear["Global`*"]

Let's start by defining a function for the postition x.

(*** Not Complete. You fix it ***)

x[t_]= x0 + v0 t

Note how we use the notation t_ with the underscore "_" to tell Mathematica that t is a dummy variable.  To see what I mean, try:

x[2]

Now we pick values for x0 , v0, and a.

v0=5;
x0=0;
a=10;

Now, x[t] at t=2 is a number.

x[2]

We can now make a plot of x[t] vs. t for times from t=0 to t=5. Note how I turn on the GridLines.

Plot[ x[t] ,{t,0,5}, GridLines->Automatic];

We can find the total distance traveled in 2 ways. 
First, we can just read the answer off the graph. 
Second, we can evaluate

x[5]-x[0]

Both methods give ??? meters.

*************************************
Part B) Velocity

We can use the fact that v = dx/dt. Let's make a function v[t] using this definition. 
We start by clearing the previous definitions of x0, v0, and a so we can see the formula in terms of symbols and not numbers.

Clear[x0,v0,a]

v[t_]=D[x[t],t]

Now let us set x0, v0, and a to our previous values.

v0=5;
x0=0;
a=10;

and plot the velocity. 
Note, I have added some extra lines to the plot command to make it look nice.
(If you like, experiment by taking out certain parts to see what each does.)

Plot[ v[t] ,{t,0,5}
           ,GridLines->Automatic
           ,PlotStyle->{Thickness[0.020]}];

The velocity curve is supposed to be the slope of the distance (x[t]) curve. Is this true? 
Show this by marking on the plot of x[t] and v[t]

The distance traveled is supposed to be the area under the velocity curve. Is this true? 
How much distance is represented by each square grid on the graph???
By counting the grid squares under the curve (estimat this) comput the distance traveled from t=0 to t=5??? From t=2 to t=4???

Calculate directly the distance traveled from t=0 to t=5??? From t=2 to t=4???  Compare with what you got by counting the grids.