%Defining and Plotting a Function of Two Variables %If you modify this file, please indicate here and in the footnote %Math263D \documentclass[12pt]{article} \usepackage{times} \pagestyle{empty} \addtolength{\textwidth}{1.2in} \addtolength{\textheight}{1.2in} \addtolength{\oddsidemargin}{-.58in} \addtolength{\evensidemargin}{-.58in} \renewcommand{\baselinestretch}{1.0} \parindent = 0cm \parskip = .1cm \begin{document} \begin{center} {\Large Defining and Plotting a Function of Two Variables \footnote{Copyright \copyright 2002 Steve Chapin, Larry Snyder, and Todd Young. All rights reserved. Please address comments to young@math.ohiou.edu.}} \end{center} \begin{enumerate} \item Enter the following commands:\\ \verb& syms x y& \\ \verb& ezmesh(sin(x)*cos(y),[0,10,0,10])& \item Click on \fbox{Tools} and then click \fbox{Rotate 3D}. Point at the graph, press the left mouse button and hold it down, and then move the pointer around slowly. The graph should rotate. Move it until you find the best picture possible (in your opinion). \item Use ezmesh to plot the function $f(x,y) = x^2 - y^2$. First use the same domain as in \#1 and then use $[-2, 2, -2, 2]$. Which is a better picture? \item Plot the function $f(x,y) = \sin x^5 * \cos y$ using the default domain, i.e. omit it from the command. What are the problems with the resulting graph? \item Carefully sketch by hand the ``best" graphs for the two functions in \#1 and \#3. Be sure to clearly label axes. \item Explain briefly why the plot of the function in \#4 does not represent the true graph of the function. Use complete sentences and standard mathematical notation. \end{enumerate} \vfill \noindent \textsf{ The goal of this project is to familiarize the user with the higher dimensional plotting capabilities of the program and to introduce them to the notion that views and domains must be adjusted to obtain a useful picture. The problem of plotting rapid oscillations is reviewed.} \end{document}
View Site in Mobile | Classic
Share by: