Plotting with Mathematica

Make a copy of the  "cell" below this, and replace the red words with the function you want to graph, amd enter  appropriate limits.  (A Mathematica "cell" is all of the lnes within one of the square brackets along the right edge of the "notebook."  You can copy and paste an entire  cell  at once by clicking on the square bracket on the right, so that is becomes a thick black line.)  

To "execute" the contents of a cell, move your cursor to anywhere within the cell and hit Shift-Enter at the same time.  You must do this after you define your function.  To plot your function move your cursor to the  cell with the Plot command and hit Shift-Enter at the same time again; a graph should appear.

v[t_]:= function goes here
lowerLimit = -2;
upperLimit = 2;

Example 1

In the cell below I have replaced the red text above with the text in blue so that I plot a cosine function with an amplitude of 0.5.  (Notice that in Mathematica all functions start with capital letters.)

v[t_]:= Sin[2 π t]
lowerLimit = -1;
upperLimit = 1;

Plot[v[t],{t,lowerLimit,upperLimit}]