Plotting
With -20 < x < 20 and 200 linearly spaced elements, plot the following functions:
y = -10x - cos(x)x^3 - 200
t = sin^2(x)
Create a mesh using 60 elements for -10 < x < 10, and 30 elements for -5 < y < 5. Plot 3D graphs for the following functions:
z = x/5 + y^2/9 - 10xy
v = cos^2(x) sin^2(y)
Include axis labels and titles. Show change of color of the lines (2D) and the surfaces (3D); use any color. Include grid lines. All plots should be on separate graphs (4 figures in total).
Bonus: Generate a new figure containing the 4 graphs as subplots.