Mathematica/BasicPlotting

To produce a simple 2D plot of f(x) versus x use the "Plot" command. The simple plot structure is written as "Plot[f(x),{x,lower_bound,upper_bound}]".

Example:

Plot[x^2+4,{x,-5,5}];

Two functions can be plotted together using the form "Plot[{f(x),g(x)},{x,lower_bound,upper_bound}]".

Example:

Plot[{x^2 + 4, 10 Sin[x]}, {x, -5, 5}];