EGR 103/Fall 2014/Lab 5

From PrattWiki
Jump to navigation Jump to search

This page is meant to serve as the basis for a self-guided tour of the various parts of Lab 5. It will include relevant links and example for each problem. Dr. G will also be presenting materials during the lab.


Palm 5.8

The core of this problem is understanding the nature of a parametric plot - that is, a plot where the \(x\) and \(y\) coordinates are dependent upon some third variable (the parameter; in this case, \(t\)). Once you understanding that, it is simply a matter of making the plots and calculating the distances. Once again, you will need to reference MATLAB:Plotting#Using_Different_Scales when determining the times, locations, and distances when the ship is nearest to and furthest from the international boundary.

Chapra 3.9

The core of this problem is to learn how to make a surface plot with contours. MATLAB:Plotting_Surfaces contains a great deal of information about this process. The meshgrid command is especially important.

Palm 5.35

The main part of this problem is calculating values for a matrix and then adding those values together.

Palm 4.28

This problem expands on making surface plots to using 2-D matrices to solve optimization problems. MATLAB:Plotting_Surfaces and MATLAB:Contour_Plots will be useful in making the plots. The section MATLAB:Plotting_Surfaces#Finding_Minima_and_Maxima_in_2-D will be especially helpful in terms of finding the best location for the distribution center.