====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
gibson:teaching:spring-2015:math445:lab10 [2015/04/08 13:43] gibson [Problem 5: quiver plot] |
gibson:teaching:spring-2015:math445:lab10 [2015/04/08 19:27] (current) gibson [Problem 5: quiver plot] |
||
---|---|---|---|
Line 70: | Line 70: | ||
**(a)** Reproduce the above surface plot in Matlab. | **(a)** Reproduce the above surface plot in Matlab. | ||
- | **(b)** In a gentle rainstorm, water will flow down the mountains in the direction of steepest descent, i.e. along the gradient of $f$. Compute the gradient, then make an $x,y$ plot with both contours of the mountain height $f$ and a quiver plot showing the direction of flow of rainwater. | + | **(b)** In a gentle rainstorm, water will flow down the mountains in the direction of steepest descent, i.e. along the negative of the gradient of $f$. Find the gradient of $f$ using elementary calculus, then make an $x,y$ plot with both contours of the mountain height $f$ and a quiver plot showing the direction of flow of rainwater. |
===== Bonus ===== | ===== Bonus ===== |