Defining and Plotting a Parametric Curve in 3D a(t)=(x(t),y(t),z(t)) H* clears all previous assingments so we can reuse them *L
|
|
- Geraldine Peters
- 5 years ago
- Views:
Transcription
1 Defining and Plotting a Parametric Curve in 3D a(t)=(x(t),y(t),z(t)) Clear@"Global`*"D H* clears all previous assingments so we can reuse them *L H* Define vector functions in 3D of one variable t, i.e. a curve in 3D *L H* to typeset the alpha, beta, and sigma using esc alpha esc, ditto beta, ditto sigma *L a@t_d = 8Cos@tD, Sin@tD, t< b@t_d = 8t, 2 * t, 3 * t< s@t_d = 8Cos@tD, Sin@tD, 0< H* Plot the curves a,b, s with no plotting options defined *L H* Give the plot an assigned name and use this name in the GraphicsGrid command to plot *L aplot1 = ParametricPlot3D@a@tD, 8t, 0, 2 * Pi<D ; bplot1 = ParametricPlot3D@b@tD, 8t, 0, 2 * Pi<D ; splot1 = ParametricPlot3D@s@tD, 8t, 0, 2 * Pi<D ; H* Plot the curve with some plotting options *L aplot2 = ParametricPlot3D@a@tD, 8t, 0, 2 * Pi<, PlotStyle Ø Directive@Red, Thickness@0.015DD, AxesLabel Ø 8x, y, z<, LabelStyle Ø Directive@Black, 15DD; bplot2 = ParametricPlot3D@b@tD, 8t, 0, 2 * Pi<, PlotStyle Ø Directive@Red, Thickness@0.015D, DashedD, AxesLabel Ø 8x, y, z<, LabelStyle Ø Directive@Black, 15DD; splot2 = ParametricPlot3D@s@tD, 8t, 0, 2 * Pi<, PlotStyle Ø Directive@Red, Thickness@0.015D, DotDashedD, AxesLabel Ø 8x, y, z<, LabelStyle Ø Directive@Black, 15DD; H* Display the two plots side by side *L GraphicsGrid@
2 2 BasicPlotting.nb 88aplot1, bplot1, splot1<, 8aplot2, bplot2, splot2<< D H* Display all the plots on one set of axes *L plots1 = Show@8aplot1, bplot1, splot1<d; plots2 = Show@8aplot2, bplot2, splot2<d; H* Now plot the combined plots side by side *L GraphicsGrid@88plots1, plots2< <D 8Cos@tD, Sin@tD, t< 8t, 2 t, 3 t< 8Cos@tD, Sin@tD, 0< x y 6 4 z y z x y z x x y z 2 0
3 BasicPlotting.nb 3 Defining and Plotting Explicit Functions z=f(x,y)
4 4 BasicPlotting.nb H* clears all previous assingments so we can reuse them *L H* Define some explicit functions z=fhx,yl, z=ghx,yl, z=hhx,yl, i.e. surfaces in 3D *L x_, y_ D = x ^ 2 + y ^ 2 g@x_, y_d = Cos@xD * Sin@yD h@x_, y_d = 2 * x - 3 * y + 2 H* Plot surfaces with no plot options *L R = 5; plotf1 = Plot3D@f@x, yd, 8x, -R, R<, 8y, -R, R<D; plotg1 = Plot3D@g@x, yd, 8x, -R, R<, 8y, -R, R<D; ploth1 = Plot3D@h@x, yd, 8x, -R, R<, 8y, -R, R<D; H* Plot surfaces with some basic plot options *L R = 5; plotf2 = Plot3D@f@x, yd, 8x, -R, R<, 8y, -R, R<, PlotStyle Ø Directive@GreenDD; plotg2 = Plot3D@g@x, yd, 8x, -R, R<, 8y, -R, R<, PlotStyle Ø Directive@RedD, Mesh Ø False D; ploth2 = Plot3D@h@x, yd, 8x, -R, R<, 8y, -R, R<, PlotStyle Ø Directive@Blue, Opacity@0.6DD, Mesh -> FalseD; H* Plot surfaces with some more plot options *L Plot3D@f@x, yd, 8x, -R, R<, 8y, -R, R<, ImageSize Ø 8400, 400<, ColorFunction Ø "SunsetColors", Background Ø Black, Boxed -> False, Mesh Ø 20, PlotStyle Ø Directive@Opacity@0.8DDD H* Plot surfaces side by side *L GraphicsGrid@ 88plotf1, plotg1, ploth1<, 8plotf2, plotg2, ploth2<<d H* Group plots on one set of axes then display pairs side by side *L plot1 = Show@ 8plotf1, plotg1, ploth1< D; plot2 = Show@ 8plotf2, plotg2, ploth2< D; GraphicsGrid@ 88plot1, plot2<< D
5 BasicPlotting.nb x2 + y2 Cos@xD Sin@yD 2+2x-3y 5
6 6 BasicPlotting.nb
7 BasicPlotting.nb 7 Defining and Plotting Implicit Functions f(x,y,z)=c where c is some constant ü Recall Implicit Functions f(x,y)=c and their relation to z=f(x,y) Clear@"Global`*"D H* clears all previous assingments so we can reuse them *L H* define an expression in the variables x and y *L f@x_, y_d = x * Cos@yD; H* ContourPlot is how you plot an implicit function fhx,yl=c *L plot1 = ContourPlot@8f@x, yd ã -1, f@x, yd ã 1 ê 2<, 8x, -2, 2<, 8y, -2, 2<, AxesLabel Ø 8x, y<, ContourStyle Ø Directive@Black, Thickness@0.01DDD; H* In terms of the surface z=fhx,yl, how do we geometrically interpret fhx,yl=c? *L plot2 = Plot3D@8f@x, yd, -1, 1 ê 2<, 8x, -2, 2<, 8y, -2, 2<, PlotStyle Ø 8Directive@Green, Specularity@White, 20DD, Directive@Black, Opacity@0.6DD, Directive@Black, Opacity@0.4DD<, Lighting Ø "Neutral", Mesh Ø False, ImageSize Ø 8500, 500<, AxesLabel Ø 8x, y, z<d; H* Plot the ContourPlot and the Surface with z planes side by side *L GraphicsGrid@88 plot1, plot2 << D H* Just for fun lets make an animation for various values of the "z-slice" *L P1 = Manipulate@ContourPlot@f@x, yd ã c, 8x, -3, 3<, 8y, -3, 3<, AxesLabel Ø 8x, y<, ContourStyle Ø Directive@Black, Thickness@0.01DDD, 8c, -2, 3, 1<D; P2 = Manipulate@Plot3D@8f@x, yd, c<, 8x, -3, 3<, 8y, -3, 3<, PlotStyle Ø 8Directive@GreenD, Directive@Black, Opacity@0.6DD<, Mesh Ø False, ImageSize Ø 8500, 500<, AxesLabel Ø 8x, y, z<, ImageSize Ø 8200, 200<D, 8c, -2, 3, 1<D; GraphicsGrid@88P1, P2<<, ImageSize Ø 81200, 1200<D;
8 8 BasicPlotting.nb
9 BasicPlotting.nb 9 ü Implicit Functions f(x,y,z)=c and their relation to w=f(x,y,z) (ToDo When Get Faster Machine--ContourPlot3D) H* Define two expression each depending on three variables *L F@x_, y_, z_d = x ^ 2 + y ^ 2 + z ^ 2 G@x_, y_, z_d = Cos@xD * Sin@yD * z H* ContourPlot3D is how to plot FHx,y,zL=c *L H* ContourPlot3D@8F@x,y,zD==1,F@x,y,zD==4<, 8x,-2,2<,8y,-2,2<,8z,-2,2<,ContourStyleØ 8Directive@BlueD, Directive@Green,Opacity@0.5DD < D *L x 2 + y 2 + z 2 z Cos@xD Sin@yD
10 10 BasicPlotting.nb Curve in 2D a(t)=(x(t),y(t)), Curve b(t)=f(a(t)) on Surface z=f(x,y) in 3D
11 BasicPlotting.nb 11 H* clears all previous assingments so we can reuse them *L H* Define a functionêsurface z= fhx,yl on which we will "project" a curve *L f@x_, y_d = x ^ 2 + y ^ 2 * Sin@x * yd H* Define a 2D curve ahtl in the Hx,yL-plane *L x@t_d = Cos@tD y@t_d = Sin@tD a2@t_d = 8x@tD, y@td< H* Trick: Think of the 2D curve ahtl as a 3D curve in the Hx,y,z=0L-plane *L a3@t_d = 8x@tD, y@td, 0< H* Define a 3D curve bhtl= fhahtll which is constrained to the surface z=fhx,yl *L af@t_d = 8x@tD, y@td, f@x@td, y@tdd< H* Plots of the above *L a2plot = ParametricPlot@a2@tD, 8t, 0, 2 * Pi<, PlotStyle Ø Directive@ Black, Thickness@0.01DD, AxesLabel Ø 8x, y<, Frame Ø TrueD; a3plot = ParametricPlot3D@a3@tD, 8t, 0, 2 * Pi<, PlotStyle Ø Directive@ Black, Thickness@0.01DD, AxesLabel Ø 8x, y, z<, Boxed Ø TrueD; afplot = ParametricPlot3D@af@tD, 8t, 0, 2 * Pi<, PlotStyle Ø Directive@ Black, Thickness@0.015DD, AxesLabel Ø 8x, y, z<, Boxed Ø TrueD; fplot = Plot3D@f@x, yd, 8x, -1, 1<, 8y, -1, 1<, PlotStyle Ø Directive@Red, Opacity@0.8D, Specularity@White, 20DD, Mesh Ø False, AxesLabel Ø 8x, y, z<, Boxed Ø True, ImageSize Ø 8500, 500<D; H* Bring the 2D and 3D plots together *L plot1 = Show@8afplot, fplot, a3plot< D; GraphicsGrid@ 88a2plot, a3plot, plot1<< D
12 12 BasicPlotting.nb x 2 + y 2 Sin@x yd Cos@tD Sin@tD 8Cos@tD, Sin@tD< 8Cos@tD, Sin@tD, 0< 9Cos@tD, Sin@tD, Cos@tD 2 + Sin@tD 2 Sin@Cos@tD Sin@tDD= Bring All The Above Together: Curve of Intersection Problems ü (In Class Problem) Find the curve of intersection of the two surfaces f(x, y) = x + 2 y - 2 and g(x, y) = 2 x + y + 3. (Hint: Do the algebra work by hand) (Extra: Come up with plots to check your answer)
13 BasicPlotting.nb 13 (An Answer) : Remember that f(x,y)=x+2y-2 g(x,y)=2x+y+3 are explicit functions of x and y which we interpret to mean z=x+2y-2 and z=2x+y+3. To be an intersection curve the x, y and z's must all be equal. Our equations scream for us to focus on the zʼs first (since they are already solved for z. Clear@"Global`*"D H* clears all previous assingments so we can reuse them *L H* We want to find when the z values equal, so set them equal OR find when their difference is 0 *L Solve@x + 2 * y H2 * x + y + 3L ã 0, xd H* option 1, Solve for x in terms of y, i.e. find xhyl *L Solve@x + 2 * y H2 * x + y + 3L ã 0, yd H* option 2, Solve for y in terms of x, that is find yhxl *L H* At this point we can write at least two solutions *L a@y_d = y, y, 2 * H-5 + yl + y + 3 <; H* y is playing the role of the parameter t *L b@x_d = 8x, 5 + x, x + 2 * H5 + xl - 2< ; H* x is playing the role of the parameter t *L PossibleAnswer1 ã Simplify@a@tDD PossibleAnswer2 ã Simplify@b@tDD H* plot these curves *L SolutionCurve1 = ParametricPlot3D@a@yD, 8y, 0, 5<, PlotStyle Ø Directive@Green, Thickness@0.015DDD; SolutionCurve2 = ParametricPlot3D@b@xD, 8x, -1, 0<, PlotStyle Ø Directive@Green, Thickness@0.015DDD; H* plot the two original surfaces *L SurfacesPlot = Plot3D@8x + 2 * y - 2, 2 * x + y + 3<, 8x, -5, 5<, 8y, -5, 5<, PlotStyle Ø 8Directive@RedD, Directive@ Blue, Opacity@0.8DD<D; GraphicsGrid@ 88Show@SolutionCurve1, SurfacesPlot D, Show@SolutionCurve2, SurfacesPlot D<< D 88x Ø -5 + y<<
14 14 BasicPlotting.nb 88y Ø 5 + x<< PossibleAnswer1 ã t, t, t< PossibleAnswer2 ã 8t, 5 + t, t< ü (HomeWork 1) Find the curve of intersection of the two surfaces x + 3 y + 4 z - 2 = 0 and (x - 1) + (2 y + 2) - (z - 2) = 0 (Hint : Do the algebra work by hand) (Extra : Come up with plots to check your answer) (An Answer) : So this problem is like the In Class Problem but both surfaces are Implicit. Donʼt panic when you see an implicit form of a function. As a start, you can always try to turn it into an explicit form by solving for the easiest variable.
15 BasicPlotting.nb 15 H* clears all previous assingments so we can reuse them *L H* So the surfaces are implicit fhx,y,zl=c form, so remedy this "problem" by solving for the explicit form x=fhy,zl. *L foo = Expand@Hx - 1L + H2 * y + 2L - Hz - 2L ã 0D foo1 = Solve@foo, xd foo2 = Solve@x + 3 * y + 4 * z - 2 ã 0, xd a@y_, z_d = -3-2 * y + z; b@y_, z_d = 2-3 * y - 4 * z; H* So now we have two explicit functions for x as a function of y and z. Now repeat steps from Homework 1 *L SurfacesPlot = ContourPlot3D@8x + 3 * y + 4 * z - 2 ã 0, Hx - 1L + H2 * y + 2L - Hz - 2L ã 0<, 8x, -10, 10<, 8y, -10, 10<, 8z, -10, 10<, ContourStyle Ø 8Directive@RedD, Directive@ Blue, Opacity@0.8DD<, AxesLabel Ø 8x, y, z<d; H* Solve for y as a function of z *L Solve@a@y, zd - b@y, zd ã 0, yd H* Define a curve with parameter z and show its plot along with the two surfaces *L Solution@z_D = * H5-5 * zl + z, 5-5 * z, z < SolutionPlot = ParametricPlot3D@Solution@zD, 8z, 0, 2<, PlotStyle Ø Directive@Green, Thickness@0.015DD, AxesLabel Ø 8x, y, z<d; foo3 = GraphicsGrid@ 88Show@SolutionPlot, SurfacesPlot D<<, ImageSize Ø 8500, 500< D 3 + x + 2 y - z ã 0 88x Ø -3-2 y + z<< 88x Ø 2-3 y - 4 z<< 88y Ø -5 H-1 + zl<< H5-5 zl + z, 5-5 z, z< 3 + x + 2 y - z ã 0 88x Ø -3-2 y + z<< 88x Ø 2-3 y - 4 z<< 88y Ø -5 H-1 + zl<< H5-5 zl + z, 5-5 z, z<
16 16 BasicPlotting.nb 3 + x + 2 y - z ã 0 88x Ø -3-2 y + z<< 88x Ø 2-3 y - 4 z<< 88y Ø -5 H-1 + zl<< H5-5 zl + z, 5-5 z, z<
17 BasicPlotting.nb 17 ü (HomeWork 2) Find the curve of intersection of the two surfaces f(x,y)=-x+2y and x+(y+2)+2(z+3)=0. (Hint: Do the algebra work by hand) (Extra: Come up with plots to check your answer) (An Answer): Am I trying to trick you by giving you one implicit and one explicit function? No. Just follow the same steps as in previous examples. SurfacesPlot = Plot3D@ 8-x + 2 * y, -1 ê 2 * Hx + y L - 4<, 8x, -5, 5<, 8y, -5, 5<, PlotStyle Ø 8Directive@RedD, Directive@ Blue, Opacity@0.8DD<D; CurvePlot = ParametricPlot3D@ 8H5 * y + 8L, y, -H5 * y + 8L + 2 * y<, 8y, -5, 5<, PlotStyle Ø Directive@Green, Thickness@0.015DDD; Show@SurfacesPlot, CurvePlot D
18 18 BasicPlotting.nb ü (HomeWork, A Little More Challenging) Find the curve of intersection of the two surfaces x^2*y-z=5 and xy-z=4 (Hint: Do the algebra work by hand) (Extra: Come up with plots to check your answer) (An Answer) SurfacesPlot = ContourPlot3D@ 8x^2 * y - z ã 5, x * y - z ã 4<, 8x, -5, 5<, 8y, -5, 5<, 8z, -5, 5<, ContourStyle Ø 8Directive@RedD, Directive@ Blue, Opacity@0.8DD<D; a@x_d = 8x, 1 ê Hx^2 - xl, 1 ê Hx - 1L - 4< H* Notice from the formula for ahxl the problem values x= 0 and x=1 so take note when plotting *L CurvePlot1 = ParametricPlot3D@a@xD, 8x, -5, -0.1<, PlotStyle Ø Directive@Green, Thickness@0.015DDD; CurvePlot2 = ParametricPlot3D@a@xD, 8x, 0.1, 0.9<, PlotStyle Ø Directive@Green, Thickness@0.015DDD; CurvePlot3 = ParametricPlot3D@a@xD, 8x, 1.01, 5<, PlotStyle Ø Directive@Green, Thickness@0.015DDD; Show@SurfacesPlot, CurvePlot1, CurvePlot2, CurvePlot3D :x, 1, x + x x >
19 BasicPlotting.nb 19
H* Define 2 Points in R 3 *L P = 81, 2, 3< Q = 84, 6, 6< PQvec = Q - P. H* Plot a Single Red Point of "Size" 0.05 *L
Define and plotting a point and vector H* Define 2 Points in R 3 *L P = 81, 2, 3< Q = 84, 6, 6< PQvec = Q - P H* Plot a Single Red Point of "Size" 0.05 *L Graphics3D@8PointSize@0.05D, Red, Point@PD
More informationAlgebra. Mathematica QuickStart for Calculus 101C. Solving Equations. Factoring. Exact Solutions to single equation:
Mathematica QuickStart for Calculus 101C Algebra Solving Equations Exact Solutions to single equation: In[88]:= Solve@x^3 + 5 x - 6 ã 0, xd Out[88]= :8x Ø 1, :x Ø 1 2 I-1 + Â 23
More informationRepresentations of Curves and Surfaces, and of their Tangent Lines, and Tangent Planes in R 2 and R 3 Robert L.Foote, Fall 2007
CurvesAndSurfaces.nb Representations of Curves and Surfaces, and of their Tangent Lines, and Tangent Planes in R and R 3 Robert L.Foote, Fall 007 Curves and Surfaces Graphs ü The graph of f : Æ is a curve
More informationMaking Holes and Windows in Surfaces
The Mathematica Journal Making Holes and Windows in Surfaces Alan Horwitz In this article, we demonstrate makehole, a program which removes points from any Graphics or Graphics3D picture whose coordinates
More informationTeaching Complex Analysis as a Lab- Type ( flipped ) Course with a Focus on Geometric Interpretations using Mathematica
Teaching Complex Analysis as a Lab- Type ( flipped ) Course with a Focus on Geometric Interpretations using Mathematica Bill Kinney, Bethel University, St. Paul, MN 2 KinneyComplexAnalysisLabCourse.nb
More informationGraphing on the Riemann Sphere
The Mathematica Journal Graphing on the Riemann Sphere Djilali Benayat We give a procedure to plot parametric curves on the sphere whose advantages over classical graphs in the Cartesian plane are obvious
More informationGRAPHICAL REPRESENTATION OF SURFACES
9- Graphical representation of surfaces 1 9 GRAPHICAL REPRESENTATION OF SURFACES 9.1. Figures defined in Mathematica ô Graphics3D[ ] ø Spheres Sphere of centre 1, 1, 1 and radius 2 Clear "Global` " Graphics3D
More informationAssignment 1. Prolog to Problem 1. Two cylinders. ü Visualization. Problems by Branko Curgus
Assignment In[]:= Problems by Branko Curgus SetOptions $FrontEndSession, Magnification Prolog to Problem. Two cylinders In[]:= This is a tribute to a problem that I was assigned as an undergraduate student
More informationPlot f, x, x min, x max generates a plot of f as a function of x from x min to x max. Plot f 1, f 2,, x, x min, x max plots several functions f i.
HdPlot.nb? Plot Plot f, x, x min, x max generates a plot of f as a function of x from x min to x max. Plot f, f,, x, x min, x max plots several functions f i. Plot Sin 7 x Exp x ^, x,, 4.5 3 4.5 Plot Sin
More informationLab 2B Parametrizing Surfaces Math 2374 University of Minnesota Questions to:
Lab_B.nb Lab B Parametrizing Surfaces Math 37 University of Minnesota http://www.math.umn.edu/math37 Questions to: rogness@math.umn.edu Introduction As in last week s lab, there is no calculus in this
More informationWe can set up the integral over this elliptical region as a y-simple region: This integral can be evaluated as follows. The inner integral is
Volume using Double Integrals Eample : Find the volume of the region in R that is under the paraboloid z = + y, above the y plane and below z =. Solution: The region is shown below. The planes z = and
More informationYou can drag the graphs using your mouse to rotate the surface.
The following are some notes for relative maxima and mimima using surfaces plotted in Mathematica. The way to run the code is: Select Menu bar -- Evaluation -- Evaluate Notebook You can drag the graphs
More information3. The domain of a function of 2 or 3 variables is a set of pts in the plane or space respectively.
Math 2204 Multivariable Calculus Chapter 14: Partial Derivatives Sec. 14.1: Functions of Several Variables I. Functions and Variables A. Def n : Suppose D is a set of n-tuples of real numbers (x 1, x 2,
More informationWolfram Mathematica Tutorial Collection. Visualization and Graphics
Wolfram Mathematica Tutorial Collection Visualization and Graphics For use with Wolfram Mathematica 7.0 and later. For the latest updates and corrections to this manual: visit reference.wolfram.com For
More informationMaple Commands for Surfaces and Partial Derivatives
Math 235 Lab 2 Intro Maple Commands for Surfaces and Partial Derivatives We ve seen that a curve can be written as y = f(x), or more generally in parametric form using one parameter (usually t), and the
More informationQuickstart: Mathematica for Calculus I (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy September 2, 2013
Quickstart: Mathematica for Calculus I (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy September, 0 Contents. Getting Started. Basic plotting. Solving equations, approximating
More informationREPRESENTATION OF CURVES IN PARAMETRIC FORM
- Representation of curves in parametric form 1 REPRESENTATION OF CURVES IN PARAMETRIC FORM.1. Parametrization of curves in the plane Given a curve in parametric form, its graphical representation in a
More informationProblem #130 Ant On Cylinders
Problem #130 Ant On Cyliners The Distance The Ant Travels Along The Surface John Snyer November, 009 Problem Consier the soli boune by the three right circular cyliners x y (greenish-yellow), x z (re),
More informationSection 2.1 Graphs. The Coordinate Plane
Section 2.1 Graphs The Coordinate Plane Just as points on a line can be identified with real numbers to form the coordinate line, points in a plane can be identified with ordered pairs of numbers to form
More informationHow to prepare interactive Mathematica demonstrations for classroom
How to prepare interactive Mathematica demonstrations for classroom János Karsai University of Szeged http://silver.szote.u-szeged.hu/~karsai karsai@dmi.u-szeged.hu 2 workshop.nb Some examples from the
More informationPrinciples of Linear Algebra With Mathematica Linear Programming
Principles of Linear Algebra With Mathematica Linear Programming Kenneth Shiskowski and Karl Frinkle Draft date March 12, 12 Contents 1 Linear Programming 1 1.1 Geometric Linear Programming in Two Dimensions......
More informationü 12.1 Vectors Students should read Sections of Rogawski's Calculus [1] for a detailed discussion of the material presented in this section.
Chapter 12 Vector Geometry Useful Tip: If you are reading the electronic version of this publication formatted as a Mathematica Notebook, then it is possible to view 3-D plots generated by Mathematica
More informationGraphs of Functions, Limits, and
Chapter Continuity Graphs of Functions, Limits, and ü. Plotting Graphs Students should read Chapter of Rogawski's Calculus [] for a detailed discussion of the material presented in this section. ü.. Basic
More informationNUMBERS VECTORS. (essentially) infinite precision is available
NUMBERS In[]:= Out[]= In[]:= Out[]= In[3]:= Out[3]= N@Exp@D, D.790330773977770937000 N@Log@D, D 0.937099309737070330 N@Pi, D 3.93979333337997939937 (essentially) infinite precision is available In[]:=
More informationTriple Integrals: Setting up the Integral
Triple Integrals: Setting up the Integral. Set up the integral of a function f x, y, z over the region above the upper nappe of the cone z x y from z to z. Use the following orders of integration: d x
More informationPlots & Animations. Simple 2d plots x
Plots & Animations Simple 2d plots Physical processes and corresponding mathematical formulas can be visualized by plots. The simplest plot of a single function f[x] can be created as follows f@x_d :=
More informationAnnouncements. Topics: To Do:
Announcements Topics: In the Functions of Several Variables module: - Section 3: Limits and Continuity - Section 4: Partial Derivatives - Section 5: Tangent Plane, Linearization, and Differentiability
More informationUsing Mathematica to solve ODEs (part 1)
Using Mathematica to solve ODEs (part ) Basic tool is DSolve Note that in DSolve the dependent variable (usually y below) must be written y[x] or y [x] (for the derivative) or y [x] (for the second derivative)
More informationTrue/False. MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY
MATH 1C: SAMPLE EXAM 1 c Jeffrey A. Anderson ANSWER KEY True/False 10 points: points each) For the problems below, circle T if the answer is true and circle F is the answer is false. After you ve chosen
More informationBasic Exercises about Mathematica
Basic Exercises about Mathematica 1. Calculate with four decimal places. NB F. 2.23607 2.23607 Ë We can evaluate a cell by placing the cursor on it and pressing Shift+Enter (or Enter on the numeric key
More informationSec 4.1 Coordinates and Scatter Plots. Coordinate Plane: Formed by two real number lines that intersect at a right angle.
Algebra I Chapter 4 Notes Name Sec 4.1 Coordinates and Scatter Plots Coordinate Plane: Formed by two real number lines that intersect at a right angle. X-axis: The horizontal axis Y-axis: The vertical
More informationLecture 2. Dr John Armstrong
Computing for Geometry and Number Theory Lecture 2 Dr John Armstrong King's College London December 6, 2018 Last week we used Mathematica as a calculator Using the workbook, for example to type SHIFT +
More informationHydroperoxyCyclophosphamideDoses 0, 0.32`, 0.5`, 0.79`, 1.2`, 2, 3.2`, 5.07`, 8, 12.67`, 20;
In[1]:= HydroperoxyCyclophosphamideDoses 0, 0.32`, 0.5`, 0.79`, 1.2`, 2, 3.2`, 5.07`, 8, 12.67`, 20; In[2]:= In[3]:= VincristineDoses 0, 0.00032`, 0.000507`, 0.0008`, 0.00127`, 0.002`, 0.0032`, 0.00507`,
More informationIntroduction to Mathematica and Graphing in 3-Space
1 Mathematica is a powerful tool that can be used to carry out computations and construct graphs and images to help deepen our understanding of mathematical concepts. This document will serve as a living
More informationAnnouncements. Topics: To Do:
Announcements Topics: - Systems of DEs (8.5) - The Phase Plane (8.6) - Solutions in the Phase Plane (8.7) In the Functions of Several Variables module: - Section 1: Introduction to Functions of Several
More informationExplore 3D Figures. Dr. Jing Wang (517) , Lansing Community College, Michigan, USA
Explore 3D Figures Dr. Jing Wang (517)2675965, wangj@lcc.edu Lansing Community College, Michigan, USA Part I. 3D Modeling In this part, we create 3D models using Mathematica for various solids in 3D space,
More informationMAT203 OVERVIEW OF CONTENTS AND SAMPLE PROBLEMS
MAT203 OVERVIEW OF CONTENTS AND SAMPLE PROBLEMS MAT203 covers essentially the same material as MAT201, but is more in depth and theoretical. Exam problems are often more sophisticated in scope and difficulty
More informationFunctions of Several Variables
. Functions of Two Variables Functions of Several Variables Rectangular Coordinate System in -Space The rectangular coordinate system in R is formed by mutually perpendicular axes. It is a right handed
More informationUNIT 3 EXPRESSIONS AND EQUATIONS Lesson 3: Creating Quadratic Equations in Two or More Variables
Guided Practice Example 1 Find the y-intercept and vertex of the function f(x) = 2x 2 + x + 3. Determine whether the vertex is a minimum or maximum point on the graph. 1. Determine the y-intercept. The
More informationSome Examples to Show That Objects Be Presented by Mathematical Equations
American Journal of Computational Mathematics, 01,, 199-06 http://dx.doi.org/10.436/ajcm.01.305 Published Online September 01 (http://www.scirp.org/journal/ajcm) Some Examples to Show That Objects Be Presented
More information1 The Inverse Problem
The Inverse Problem We have learned that a general solution of a first-order differential equation y = f H, yl (..) is a one-parameter family of (either eplicit or implicit) solutions. Finding a general
More informationA plane. Or, with more details, NotebookDirectory. C:\Dropbox\Work\myweb\Courses\Math_pages\Math_225\
In[1]:= NotebookDirectory Out[1]= C:\Dropbox\Work\myweb\Courses\Math_pages\Math_5\ A plane Given a point in R 3 (below it is vr) and two non-collinear vectors (below uu and vv) the parametric equation
More informationMath 20A lecture 10 The Gradient Vector
Math 20A lecture 10 p. 1/12 Math 20A lecture 10 The Gradient Vector T.J. Barnet-Lamb tbl@brandeis.edu Brandeis University Math 20A lecture 10 p. 2/12 Announcements Homework five posted, due this Friday
More informationAP Calculus AB Unit 2 Assessment
Class: Date: 203-204 AP Calculus AB Unit 2 Assessment Multiple Choice Identify the choice that best completes the statement or answers the question. A calculator may NOT be used on this part of the exam.
More informationAlgebra 2 Honors Lesson 10 Translating Functions
Algebra 2 Honors Lesson 10 Translating Functions Objectives: The students will be able to translate a base function horizontally and vertically. Students will be able to describe the translation of f(x)
More informationPartial Derivatives (Online)
7in x 10in Felder c04_online.tex V3 - January 21, 2015 9:44 A.M. Page 1 CHAPTER 4 Partial Derivatives (Online) 4.7 Tangent Plane Approximations and Power Series It is often helpful to use a linear approximation
More informationEXTRA-CREDIT PROBLEMS ON SURFACES, MULTIVARIABLE FUNCTIONS AND PARTIAL DERIVATIVES
EXTRA-CREDIT PROBLEMS ON SURFACES, MULTIVARIABLE FUNCTIONS AND PARTIAL DERIVATIVES A. HAVENS These problems are for extra-credit, which is counted against lost points on quizzes or WebAssign. You do not
More information12.4 Rotations. Learning Objectives. Review Queue. Defining Rotations Rotations
12.4. Rotations www.ck12.org 12.4 Rotations Learning Objectives Find the image of a figure in a rotation in a coordinate plane. Recognize that a rotation is an isometry. Review Queue 1. Reflect XY Z with
More informationSection 7.6 Graphs of the Sine and Cosine Functions
Section 7.6 Graphs of the Sine and Cosine Functions We are going to learn how to graph the sine and cosine functions on the xy-plane. Just like with any other function, it is easy to do by plotting points.
More informationMATH 162 Calculus II Computer Laboratory Topic: Introduction to Mathematica & Parametrizations
MATH 162 Calculus II Computer Laboratory Topic: Introduction to Mathematica & Goals of the lab: To learn some basic operations in Mathematica, such as how to define a function, and how to produce various
More informationMath 326A Exercise 4. Due Wednesday, October 24, 2012.
Math 326A Exercise 4. Due Wednesday, October 24, 2012. Implicit Function Theorem: Suppose that F(x, y, z) has continuous partial derivatives, and that the gradient P F is nonzero at a point P. Consider
More informationDirectional Derivatives as Vectors
Directional Derivatives as Vectors John Ganci 1 Al Lehnen 2 1 Richland College Dallas, TX jganci@dcccd.edu 2 Madison Area Technical College Madison, WI alehnen@matcmadison.edu Statement of problem We are
More informationZajecia 1. Krotkie wprowadzenie do srodowiska Mathematica 4^ D D 1. ?
Zajecia Krotkie wprowadzenie do srodowiska Mathematica In[]:= Out[]= In[]:= Out[]= In[]:= Out[]= In[7]:= Out[7]= In[8]:= Out[8]= In[9]:= Out[9]= + ^ Sqrt@D Log@0, 00D Sin@Pi D In[0]:=! Out[0]= In[]:= Out[]=
More informationComputation of slant specified by cues
Computation of slant specified by cues Slant from perspective convergence, part 1: Construction of the projection (x1, y1) on the screen (blue) of point (x0, y0) of the rectangle (red) that is slanted
More informationPrinciples of Linear Algebra With Maple TM The Newton Raphson Method
Principles of Linear Algebra With Maple TM The Newton Raphson Method Kenneth Shiskowski and Karl Frinkle c Draft date July 26, 2010 Contents 1 The Newton-Raphson Method for a Single Equation 1 1.1 The
More informationProperties of Quadratic functions
Name Today s Learning Goals: #1 How do we determine the axis of symmetry and vertex of a quadratic function? Properties of Quadratic functions Date 5-1 Properties of a Quadratic Function A quadratic equation
More informationPlot f, x, x min, x max generates a plot of f as a function of x from x min to x max. Plot f 1, f 2,, x, x min, x max plots several functions f i.
HdPlot.nb In[]:=? Plot Plot f, x, x min, x max generates a plot of f as a function of x from x min to x max. Plot f, f,, x, x min, x max plots several functions f i. In[]:= Plot Sin 7 x Exp x ^, x,, 4.5
More informationLagrange multipliers October 2013
Lagrange multipliers 14.8 14 October 2013 Example: Optimization with constraint. Example: Find the extreme values of f (x, y) = x + 2y on the ellipse 3x 2 + 4y 2 = 3. 3/2 1 1 3/2 Example: Optimization
More informationPolynomial and Rational Functions
Chapter 3 Polynomial and Rational Functions Review sections as needed from Chapter 0, Basic Techniques, page 8. Refer to page 187 for an example of the work required on paper for all graded homework unless
More informationMath 21a Tangent Lines and Planes Fall, What do we know about the gradient f? Tangent Lines to Curves in the Plane.
Math 21a Tangent Lines and Planes Fall, 2016 What do we know about the gradient f? Tangent Lines to Curves in the Plane. 1. For each of the following curves, find the tangent line to the curve at the point
More informationx 6 + λ 2 x 6 = for the curve y = 1 2 x3 gives f(1, 1 2 ) = λ actually has another solution besides λ = 1 2 = However, the equation λ
Math 0 Prelim I Solutions Spring 010 1. Let f(x, y) = x3 y for (x, y) (0, 0). x 6 + y (4 pts) (a) Show that the cubic curves y = x 3 are level curves of the function f. Solution. Substituting y = x 3 in
More informationA model for an intramuscular injection of a medication.
injection_model.nb 1 A model for an intramuscular injection of a medication. Needs@"Graphics`Colors`"D; Intravenous injection of a medication: Injected drug in blood decays exponentially due to metabolic
More informationLagrange multipliers 14.8
Lagrange multipliers 14.8 14 October 2013 Example: Optimization with constraint. Example: Find the extreme values of f (x, y) = x + 2y on the ellipse 3x 2 + 4y 2 = 3. 3/2 Maximum? 1 1 Minimum? 3/2 Idea:
More informationSection 2.2 Graphs of Linear Functions
Section. Graphs of Linear Functions Section. Graphs of Linear Functions When we are working with a new function, it is useful to know as much as we can about the function: its graph, where the function
More informationLagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers
In this section we present Lagrange s method for maximizing or minimizing a general function f(x, y, z) subject to a constraint (or side condition) of the form g(x, y, z) = k. Figure 1 shows this curve
More informationa translation by c units a translation by c units
1.6 Graphical Transformations Introducing... Translations 1.) Set your viewing window to [-5,5] by [-5,15]. 2.) Graph the following functions: y 1 = x 2 y 2 = x 2 + 3 y 3 = x 2 + 1 y 4 = x 2-2 y 5 = x
More informationMath 326A Exercise 4. Due Wednesday, October 24, 2012.
Math 36A Exercise 4. Due Wednesday, October 4, 01. Implicit Function Theorem: Suppose that F(x, y, z) has continuous partial derivatives, and that the gradient P F is nonzero at a point P. Consider the
More informationSection 1: Section 2: Section 3: Section 4:
Announcements Topics: In the Functions of Several Variables module: - Section 1: Introduction to Functions of Several Variables (Basic Definitions and Notation) - Section 2: Graphs, Level Curves + Contour
More informationGraded Assignment 2 Maple plots
Graded Assignment 2 Maple plots The Maple part of the assignment is to plot the graphs corresponding to the following problems. I ll note some syntax here to get you started see tutorials for more. Problem
More informationLinear optimization. Linear programming using the Simplex method. Maximize M = 40 x x2. subject to: 2 x1 + x2 70 x1 + x2 40 x1 + 3 x2 90.
Linear optimization Linear programming using the Simplex method Maximize M = 40 x + 60 x2 subject to: 2 x + x2 70 x + x2 40 x + 3 x2 90 x 0 Here are the constraints 2 simplexnotes.nb constraints = Plot@870-2
More informationwe wish to minimize this function; to make life easier, we may minimize
Optimization and Lagrange Multipliers We studied single variable optimization problems in Calculus 1; given a function f(x), we found the extremes of f relative to some constraint. Our ability to find
More informationExamples of Linear Approximation
M28Spring07 J. Simon Examples of Linear Approximation Here are several examples of using derivatives to find the "best" linear [I'd rather say "affine", but the text says "linear"] approximation to a given
More information2.2 Graphs Of Functions. Copyright Cengage Learning. All rights reserved.
2.2 Graphs Of Functions Copyright Cengage Learning. All rights reserved. Objectives Graphing Functions by Plotting Points Graphing Functions with a Graphing Calculator Graphing Piecewise Defined Functions
More informationMath background. 2D Geometric Transformations. Implicit representations. Explicit representations. Read: CS 4620 Lecture 6
Math background 2D Geometric Transformations CS 4620 Lecture 6 Read: Chapter 2: Miscellaneous Math Chapter 5: Linear Algebra Notation for sets, functions, mappings Linear transformations Matrices Matrix-vector
More informationFunctions f and g are called a funny cosine and a funny sine if they satisfy the following properties:
Assignment problems by Branko Ćurgus posted on 2070720 Problem. Funny trigonometry and its beauty ü Few Mathematica comments There are several standard Mathematica functions that can be useful here. For
More informationPre-Calculus Mr. Davis
Pre-Calculus 2016-2017 Mr. Davis How to use a Graphing Calculator Applications: 1. Graphing functions 2. Analyzing a function 3. Finding zeroes (or roots) 4. Regression analysis programs 5. Storing values
More informationAlgebra II Quadratic Functions
1 Algebra II Quadratic Functions 2014-10-14 www.njctl.org 2 Ta b le o f C o n te n t Key Terms click on the topic to go to that section Explain Characteristics of Quadratic Functions Combining Transformations
More informationMath (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines
Math 18.02 (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines February 12 Reading Material: From Simmons: 17.1 and 17.2. Last time: Square Systems. Word problem. How many solutions?
More informationGSE Algebra 1 Name Date Block. Unit 3b Remediation Ticket
Unit 3b Remediation Ticket Question: Which function increases faster, f(x) or g(x)? f(x) = 5x + 8; two points from g(x): (-2, 4) and (3, 10) Answer: In order to compare the rate of change (roc), you must
More informationB. Examples Set up the integral(s) needed to find the area of the region bounded by
Math 176 Calculus Sec. 6.1: Area Between Curves I. Area between the Curve and the x Axis A. Let f(x) 0 be continuous on [a,b]. The area of the region between the graph of f and the x-axis is A = f ( x)
More informationBasic Examples of webmathematica for Teachers
Basic Examples of webmathematica for Teachers Any calculation done in Mathematica can be done using webmathematica, with two noteworthy limitations. First, when using webmathematica, you will not have
More informationLinear, Quadratic, Exponential, and Absolute Value Functions
Linear, Quadratic, Exponential, and Absolute Value Functions Linear Quadratic Exponential Absolute Value Y = mx + b y = ax 2 + bx + c y = a b x y = x 1 What type of graph am I? 2 What can you tell me about
More informationIn[68]:= A = J. In[70]:= Out[71]= 81.5 x + 3. y, 0.6 x y< Rows: In[72]:= A = J. In[79]:= A.8x, y< Out[74]= 81.5 x + 3. y, 0.6 x - 1.
Matrices, Geometry&Mathematica Authors: Bruce Carenter, Bill Davis erry Uhl 00 Producer: Bruce Carenter Publisher: Math Everywhere, Inc. MGM.0 D Matrix BASICS B.) D matrix hits via rows via columns: A.8x,
More information9.1: GRAPHING QUADRATICS ALGEBRA 1
9.1: GRAPHING QUADRATICS ALGEBRA 1 OBJECTIVES I will be able to graph quadratics: Given in Standard Form Given in Vertex Form Given in Intercept Form What does the graph of a quadratic look like? https://www.desmos.com/calculator
More informationChapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc.
Chapter 1 Linear Equations and Straight Lines 2 of 71 Outline 1.1 Coordinate Systems and Graphs 1.4 The Slope of a Straight Line 1.3 The Intersection Point of a Pair of Lines 1.2 Linear Inequalities 1.5
More information6. Find the equation of the plane that passes through the point (-1,2,1) and contains the line x = y = z.
Week 1 Worksheet Sections from Thomas 13 th edition: 12.4, 12.5, 12.6, 13.1 1. A plane is a set of points that satisfies an equation of the form c 1 x + c 2 y + c 3 z = c 4. (a) Find any three distinct
More informationParametric Curves, Polar Plots and 2D Graphics
Parametric Curves, Polar Plots and 2D Graphics Fall 2016 In[213]:= Clear "Global`*" 2 2450notes2_fall2016.nb Parametric Equations In chapter 9, we introduced parametric equations so that we could easily
More informationGraphing and Equations
Graphing and Equations Plotting Functions (Graphing) Let's see how to plot the graphs of functions. If we want to graph the function f(x) on the interval [a,b] then we type in: plot(f(x), x=a..b) That
More informationVisualization of Complex Functions
complexvis.nb Visualization of Complex Functions Bernd Thaller, University of Graz, Austria Source: This article appeared first in The Mathematica Journal 7(), 63-8 (998), The package ComplexPlot.m described
More informationChapter 2 Scatter Plots and Introduction to Graphing
Chapter 2 Scatter Plots and Introduction to Graphing 2.1 Scatter Plots Relationships between two variables can be visualized by graphing data as a scatter plot. Think of the two list as ordered pairs.
More informationCurvesGraphics. A free package for Advanced Calculus illustrations. Gianluca Gorni. Arrows on 2D curves. Motivation
CurvesGraphics A free package for Advanced Calculus illustrations. Gianluca Gorni Motivation As a teacher of Calculus and Mathematical Analysis at college and university level, I feel that Mathematica
More information5. y 2 + z 2 + 4z = 0 correct. 6. z 2 + x 2 + 2x = a b = 4 π
M408D (54690/95/00), Midterm #2 Solutions Multiple choice questions (20 points) See last two pages. Question #1 (25 points) Dene the vector-valued function r(t) = he t ; 2; 3e t i: a) At what point P (x
More informationLesson 12: The Graph of the Equation y = f(x)
Classwork In Module 1, you graphed equations such as 4x + y = 10 by plotting the points on the Cartesian coordinate plane that corresponded to all of the ordered pairs of numbers (x, y) that were in the
More informationCurves and Surfaces Computer Graphics I Lecture 9
15-462 Computer Graphics I Lecture 9 Curves and Surfaces Parametric Representations Cubic Polynomial Forms Hermite Curves Bezier Curves and Surfaces [Angel 10.1-10.6] February 19, 2002 Frank Pfenning Carnegie
More informationFunctions. Copyright Cengage Learning. All rights reserved.
Functions Copyright Cengage Learning. All rights reserved. 2.2 Graphs Of Functions Copyright Cengage Learning. All rights reserved. Objectives Graphing Functions by Plotting Points Graphing Functions with
More informationMEI GeoGebra Tasks for A2 Core
Task 1: Functions The Modulus Function 1. Plot the graph of y = x : use y = x or y = abs(x) 2. Plot the graph of y = ax+b : use y = ax + b or y = abs(ax+b) If prompted click Create Sliders. What combination
More informationMath 206 First Midterm October 5, 2012
Math 206 First Midterm October 5, 2012 Name: EXAM SOLUTIONS Instructor: Section: 1. Do not open this exam until you are told to do so. 2. This exam has 8 pages including this cover AND IS DOUBLE SIDED.
More informationAn Introduction to Maple and Maplets for Calculus
An Introduction to Maple and Maplets for Calculus Douglas B. Meade Department of Mathematics University of South Carolina Columbia, SC 29208 USA URL: www.math.sc.edu/~meade e-mail: meade@math.sc.edu Philip
More informationMAT 003 Brian Killough s Instructor Notes Saint Leo University
MAT 003 Brian Killough s Instructor Notes Saint Leo University Success in online courses requires self-motivation and discipline. It is anticipated that students will read the textbook and complete sample
More informationMathematica Basics. Exponential Functions Exp[expression] Natural Logarithms (ln) Log[expression]
Mathematica Basics To evaluate a Mathematica command, press [Shift]+[Enter]. Pay attention to spaces! Mathematica interprets some of them as multiplication. Syntax, capitalization and punctuation are meaningful.
More information