Computational methods in Mathematics

Size: px
Start display at page:

Download "Computational methods in Mathematics"

Transcription

1 Computational methods in Mathematics José Carlos Díaz Ramos Cristina Vidal Castiñeira June 13, Graphics Mathematica represents all graphics in terms of a collection of graphics primitives. The primitives are objects like Point, Line and Polygon, that represent elements of a graphical image, as well as directives such as RGBColor or Thickness. The appearance of these can be modified using options. Each complete piece of graphics in Mathematica is represented as a graphics object. There are several different kinds of graphics objects, corresponding to different types of graphics. Each kind of graphics object has a definite head which identifies its type. We will essentially use the following two: Graphics[list ] Graphics3D[list ] general two-dimensional graphics general three-dimensional graphics The most basic way of producing a graphic is writing a command like: graphic type[{{directives 1, primitives 1 }, {directives 2, primitives 2 },...}, options]. Here we have a list of the some basic primitives: Point[{x, y}] point at position {x, y} Line[{{x 1, y 1 }, {x 2, y 2 }, }] line through the points {x 1, y 1 }, {x 2, y 2 }, Polygon[{{x 1, y 1 }, {x 2, y 2 }, }] filled polygon with the specified list of corners Circle[{x, y}, r] circle with radius r centered at {x, y} Tube[{{x 1, y 1, z 1 },{x 2, y 2, z 2 },... }, r] Sphere[{x, y, z}, r] Some of the basic directives are: represents a tube of radius r represents a sphere of radius r centred at {x, y, z} RGBColor[r,g,b] color with specified red, green and blue components, each between 0 and 1 Hue[h] color with hue h between 0 and 1 PointSize[d] give all points a diameter d as a fraction of the width of the whole plot Thickness[w] give all lines a thickness w as a fraction of the width of the whole plot 1

2 In the latest versions of Mathematica one can use named colours (like Red, Blue, Green, etc.), sizes (like Large, Small, Tiny), or thickness (like Thin or Thick). After you have produced a graphics object of some kind, the next thing you have to do is to display it. This is accomplished by Show. Show[g 1, g 2,..., opt 1 val 1, opt 2 val 2,... ] display several graphics objects combined with certain options Here are a few examples of two dimensional graphics. In[1]:= pt = Table[Point[{Cos[ 2πn 2πn 4 ], Sin[ 4 ]}], {n, 0, 4}]; lin = Line[Table[{Cos[ 2πn 2πn 6 ], Sin[ 6 ]}, {n, 0, 6}]]; pol = Polygon[Table[{Cos[ 2πn 2πn 3 ], Sin[ 3 ]}, {n, 0, 3}]]; cir = Circle[{0, 0}, 1]; This produces the corresponding graphics object and displays it. In[2]:= Graphics[ {{PointSize[Large], Red, pt}, {Thick, Green, lin}, {Blue, pol}, cir}] Out[2]= To produce 3-dimensional graphics, the procedure is analogous. One has to replace Graphics by Graphics3D and use three coordinates instead of two. You should keep in mind that all the graphics produced with Mathematica follow this approach regardless of whether you see it or not. For example, this shows you how a two dimensional plot is saved internally by Mathematica. We skip the long output. In[3]:= InputForm[Plot[Sin[x],{x, 0, 2π}]] 1.1 2D graphics We start with commands for plotting two dimensional data. All the commands listed here will produce graphic objects of type Graphics. These are a few options that any of the functions described below will admit (as well as Show, when you combine two dimensional graphics). We will demonstrate them in what follows. 2

3 option name default value AspectRatio 1/GoldenRatio the height-to-width ratio for the plot; Automatic sets it from the absolute x and y coordinates Axes Automatic whether to include axes AxesLabel None labels to be put on the axes; ylabel specifies a label for the y axis, {xlabel, ylabel } for both axes AxesOrigin Automatic the point at which axes cross PlotLabel None an expression to be printed as a label for the plot PlotRange Automatic the range of coordinates to include in the plot; All includes all points; Ticks Automatic which tick marks to draw if there are axes; None gives no tick marks 1.2 Plot This commands plots a function f : [a, b] R. The syntax is Plot[f, {x, a, b}], where f is an expression depending on x that evaluates to a real number for all x [a, b]. To plot several functions at a time in the same interval use Plot[{f 1, f 2, }, {x, a, b}]. You can provide options that change the appearance of the graphic. The following table gives a few options available for Plot which are not present for Graphics objects in general. option name default value PlotStyle Automatic a list of lists of graphics primitives to use for each curve (as explained in the previous section) PlotPoints Automatic the minimum number of points at which to sample the function An example: In[4]:= Plot[{Tan[x], Sin[x], Cos[3x]}, {x,0,2 Pi}, PlotStyle {Red, Green, Blue}] Out[4]= The function Plot, like other Mathematica functions such as Table, evaluates the first of its arguments for each of the different nodes of the interval where the function is to be plotted. If the first argument is an expression that 3

4 produces a list of graphics, it is important to force the evaluation of this argument before plotting the function to avoid this evaluation at each iteration of Plot. In this case we use the syntax Plot[Evaluate[f],{x, x min, x max }]. This makes a plot of the functions n cos x with n running from 1 to 6. The Evaluate command tells Mathematica first to make the table of functions, and only then to evaluate them for particular values of x. In[5]:= Plot[Evaluate[Table[n Cos[x], {n, 6}]],{x, 0, 10}] Out[5]= 1.3 3D graphics In this section we deal with 3-dimensional graphics which are essentially objects of type Graphics3D. Most of the comments given for 2-dimensional graphics go through now. We will present the basic plotting functions and forget about the more complicated low level commands. option name default value AspectRatio Automatic the height-to-width ratio for the plot Axes False whether to include axes AxesLabel None labels to be put on the axes; ylabel specifies a label for the y axis, {xlabel, ylabel } for both axes Boxed True whether to include a box for the graphic Lighting True whether to use ambient light to colour the graphic PlotLabel None an expression to be printed as a label for the plot PlotRange Automatic the range of coordinates to include in the plot; All includes all points; SphericalRegion False whether the final image should be scaled so that a sphere drawn around the threedimensional bounding box would fit in the display area specified ViewPoint {1.3,-2.4,2.} point in space from which the objects plotted are to be viewed This is an example of how to use graphics primitives and directives for 3- dimensional graphics. 4

5 In[6]:= Graphics3D[Green, Sphere[2,3,5], Red, Sphere[3,3,5,1/3], Brown, Sphere[2,2,5.5,1/4], Sphere[2,1.75,5.5,1/4], Sphere[2.3,1.75,5.5,1/4], Sphere[2,2,4.5,1/4], Sphere[2,1.75,4.5,1/4], Sphere[2.3,1.75,4.5,1/4], Blue, Sphere[3,3.5,5.5,1/4], Sphere[3,3.5,4.5,1/4], Boxed False] Out[6]= 1.4 ParametricPlot3D We use ParametricPlot3D for 3-dimensional parametric plots. Note that the syntax ParametricPlot3D[{f x, f y, f z }, {t, t min, t max }] is the direct analog in three dimensions of ParametricPlot[{f x, f y }, {t, t min, t max }] in two dimensions, which we have not discussed. This makes a parametric plot of a helical curve. In[7]:= ParametricPlot3D[{Cos[t],Sin[t],t/3}, {t,0,4π}] Out[7]= The function ParametricPlot3D can also be used to plot surfaces. It is your duty to make sure that the parametric plot you produce does not have self intersections or any strange behaviour. The syntax to plot a parametrised surface is ParametricPlot3D[{f x, f y, f z }, {u, u min, u max }, {v, v min, v max }]. In[8]:= ParametricPlot3D[{x, y, x 3-3 x y 2 }, {x,-1,1}, {y,-1,1}] 5

6 Out[8]= There are other possibilities to represent surfaces instead of ParametricPlot3D such as Plot3D, ContourPlot3D and others. 1.5 Manipulate and DynamicModule Sometimes it is useful to represent a graphic that depends on a parameter and dynamically manipulate this parameter. This is achieved in Mathematica using the function Manipulate. Manipulate[expr,{u, u min, u max }] generates a version of expr with controls added to allow interactive manipulation of the value of u. The following input allows us to manipulate a plot of two functions that depends on a parameter called a. In[9]:= Manipulate[Plot[{(5 a)sin[x], a Cos[x]},{x, 0, 10}], {a, 0, 5}] Out[9]= If the plot we want to manipulate is obtained as a procedure, as we will see later, then it is convenient to localize the variables used in this procedure. For dynamic manipulation purposes this is achieved using DynamicModule instead of Module. The syntax of these two functions is identical: DynamicModule[{x, y, },expr]. The symbols specified in a DynamicModule will by default have their values maintained even across Mathematica sessions. One can also specify initial values for x, y,..., as DynamicModule[{x = x 0, y = y 0, },expr] 6

7 2 Curves In this section, we start using Mathematica for understanding several concepts of differential geometry. We start plotting curves of R 3. Latter, we will also investigate some other geometric properties such as curvature. We illustrate some of the basic geometric concepts associated with curves. We use some of the programming techniques described in previous sections. Many of the concepts defined here are well known and there is a vast bibliography to explore curves using software like Mathematica. We do not aim to be thorough: we just want to show a few examples. These will give us a clue of how to proceed in more general situations. In[1]:= helix[t ] = {Cos[t], Sin[t], t/3}; In[2]:= ParametricPlot3D[helix[t], {t, 0, 4π}] Out[2]= The basic geometric objects associated with regular curves in R 3 are curvature, torsion and the vectors of the Frenet-Serret frame: the tangent vector, the normal vector and the binormal vector. We quickly remind the basic formulas and definitions. Let α : t I α(t) R 3 be a regular curve, that is, α (t) 0 for all t. Such a regular curve can be parametrised by arc length s(t) = t t 0 α (t) dt. With respect to the arc length parameter (whose derivatives are denoted by a dot), we define the tangent vector as T (s) = α(s), the curvature as κ(s) = T (s), the normal vector as N(s) = T (s)/κ(s), the binormal vector as B(s) = T (s) N(s), and the torsion as τ(s) = Ḃ(s), N(s) whenever α(s) 0. It is clear that the arc length parameter always exists but it could be very difficult (or even impossible) to calculate. Hence, for practical purposes, it is sometimes better to work with the parameter t. Thus, one has to adapt the above formulas by doing the right change of variable: T (t) = α (t) α (t), N(t) = T (t) κ(t) α (t), B(t) = T (t) N(t), κ(t) = α (t) α (t) α (t) 3, τ(t) = det(α (t), α (t), α (t)) α (t) α (t) 2. 7

8 The following commands implement the above formulas. In[3]:= frenett[α ][t ] := α [t] α [t] α [t] ; frenett[α] In[4]:= frenetn[α ][t ] := [t] ; curvature[α][t] α [t] α [t] In[5]:= frenetb[α ][t ] := frenett[α][t] frenetn[α][t] In[6]:= curvature[α ][t] := In[7]:= torsion[α ][t ] := (α [t] α [t]) (α [t] α [t]) (α [t] α [t]) 3/2 Det[{α [t],α [t],α [t]}] (α [t] α [t]) (α [t] α [t]) As an example, we calculate these geometric objects for the helix above. Note the use of Simplify. In[8]:= Simplify[{curvature[helix][t], torsion[helix][t]}] Out[8]= { 9 10, 3 10 } In[9]:= Simplify[frenetT[helix][t]] Out[9]= { 3Sin[t] 10, 3Cos[t] 1 10, 10 } In[10]:= Simplify[frenetN[helix][t]] Out[10]= {-Cos[t], -Sin[t],0} In[11]:= Simplify[frenetB[helix][t]] Out[11]= { Sin[t] 10, Cos[t] 3 10, 10 } Sometimes, a plot helps more than the exact formulas we get using the symbolic capability of Mathematica. For example, we write here a function to plot the Frenet-Serret frame at a point of a curve. This uses the formulas for the Frenet-Serret frames above. We use the commands Arrow and Tube to plot the corresponding vectors of the Frenet-Serret frame. Once we have a vector, we wrap it using Graphics3D to produce the actual graphic. We plot normal and binormal vector modifying their lenght by multiplication by curvature and torsion. Finally, we plot the osculating circle. Later, we will use Show to render the result on screen. In[12]:= disk3d[center, r, t1, t2 ]:=Module[{s, t}, ParametricPlot3D[Evaluate[center + t Cos[s] t1 + t Sin[s] t2], {s, 0, 2π},{t, 0, r}, Mesh False, PerformanceGoal "Quality"]] In[13]:= plotosculating[curve ][t ] := Module[ {c = curve[t], v1 = frenett[curve][t], v2 = frenetn[curve][t], v3 = frenetb[curve][t], curv = curvature[curve][t]}, Show[ 8

9 Graphics3D[ {{Blue, Arrow[Tube[{c, c+v1}]], Arrow[Tube[{c, c+v2}]], Arrow[Tube[{c, c + v3}]]}, {Red, Arrow[Tube[{c, c + curv v2},0.05]]}, {Green, Arrow[Tube[{c, c+torsion[curve][t] v3}, 0.05]]} {Yellow, Line[{c, c + 1/curv v2}]}}], disk3d[c + v2/curv, 1/curv, v1, v2]]]; In[14]:= curveobjects[curve, {t0, t1 }] := Module[{s}, DynamicModule[{t}, Manipulate[ Show[ ParametricPlot3D[curve[s], {s, t0, t1}], plotosculating[curve][t], Boxed False, Axes False, PlotRangePadding 1, SphericalRegion True], {t, t0, t1}, ControlPlacement Top]]]; Here is an example with the helix. In[15]:= curveobjects[helix, {0, 4 π}] Out[15]= 3 Surfaces We will consider parametrised surfaces and will not be interested in singularities or self-intersections. It will be the task of the user to check whether the parametrisation produces an embedded surface or not (that is, one has to check whether there are self intersections, singular points and so on). We will illustrate some of the geometric objects that can be constructed on a surface and give the code to calculate them. In order to try our code we start with a well-known example. Here it is the definition of a torus. 9

10 In[1]:= torus[r, r ][u, v ]= {(R + rcos[v])cos[u], (R + rcos[v])sin[u], rsin[v]}; The first obvious thing we can do with a surface is to plot it. In[2]:= ParametricPlot3D[torus[2, 1][u, v], {u, 0, 2π}, {v, 0, 2π}] Out[2]= The most basic object of a surface is the metric or first fundamental form. As we are given a surface by means of a parametrization, the reasonable thing to do is to calculate the metric with respect to the basis of tangent vectors. The code is straightforward. The only interesting point here is the way the derivatives are calculated: Derivate[i 1, i 2, ][f][x 1, x 2, ] represents i 1 +i 2 + f. For x i 1 1 x i 2 2 example 3 f x 2 y (x, y) is represented by Derivate[2, 1][f][x, y]. In[3]:= CoordinateVector[1][sup ][u, v ]:=Derivative[1,0][sup][u, v]; CoordinateVector[2][sup ][u, v ]:=Derivative[0,1][sup][u, v]; In[4]:= Metric[sup ][u, v ]:=Module[ {dx = {CoordinateVector[1][sup][u, v], CoordinateVector[2][sup][u, v]}}, {{dx[[1]] dx[[1]], dx[[1]] dx[[2]]}, {dx[[2]] dx [[1]], dx[[2]] dx[[2]]}}]; For example, this is the metric of the torus In[5]:= MatrixForm[Simplify[Metric[torus[R, r]][u, v]]] Out[5]//MatrixForm= ( r (R + rcos[u]) 2 ) Most of the geometry of a surface in R 3 is encoded in the Gauss map. This is defined by x 3 = (x 1 x 2 )/ x 1 x 2 where x i = x/ u i and x(u 1, u 2 ) is the parametrization. In[6]:= GaussMap[surf ace ][u, v ]:= Module[{x3 = Cross[CoordinateVector[1][surf ace][u, v], 10

11 CoordinateVector[2][surf ace][u, v]]}, x3/sqrt[x3 x3]]; This calculates the Gauss map of the torus. In this example we use the function PowerExpand to cancel square roots and squares. Mathematica assumes that variables are complex numbers, so this simplification cannot be performed by default. In[7]:= PowerExpand[Simplify[GaussMap[torus[R, r]][u, v]]] Out[7]= {-Cos[u] Cos[v], -Cos[u] Sin[v], -Sin[u]} The differential of the Gauss map contains very important geometric information of a surface. It essentially encodes the second fundamental form. Its trace is the mean curvature and its determinant the Gaussian curvature. In[8]:= GaussianCurvature[surf ace ][u, v ] := Module[ {x11 = Derivative[2, 0][surf ace][u, v], x12 = Derivative[1, 1][surf ace][u, v], x22 = Derivative[0, 2][surf ace][u, v], x3 = GaussMap[surf ace][u, v]}, Det[{{x11 x3, x12 x3}, {x12 x3, x22 x3}}]/det[metric[surf ace][u, v]]]; In[9]:= MeanCurvature[surf ace ][u, v ] := Module[ {x11 = Derivative[2, 0][surf ace][u, v], x12 = Derivative[1, 1][surf ace][u, v], x22 = Derivative[0, 2][surf ace][u, v], x3 = GaussMap[surf ace][u, v], g = Metric[surface][u, v]}, (x11 x3 g[[2, 2]] 2x12 x3 g[[1, 2]]+x22 x3 g[[1, 1]])/Det[g]/2]; For example, these are the Gaussian and mean curvature of the torus. In[10]:= Simplify[GaussianCurvature[torus[R, r]][u, v]] Out[10]= Cos[u] rr+r 2 Cos[u] In[11]:= PowerExpand[Simplify[MeanCurvature[torus[R, r]][u, v]]] Out[11]= R+2rCos[u] 2r(R+rCos[u]) The Christoffel symbols are used later for the geodesic equation. Here, they are programmed in a more sophisticated way. In[12]:= ChristoffelSymbols[surf ace ][u, v ] :=Module[{g, dg}, g = Evaluate[Metric[surface][#1, #2]] &; dg = {Derivative[1, 0][g][u, v],derivative[0,1][g][u, v]}; ((Transpose[dg, {2, 1, 3}]+dg Transpose[dg, {3, 2, 1}]) Inverse[g[u, v]])/2]; In[13]:= Simplify[ChristoffelSymbols[torus[R, r]][u, v]] 11

12 Out[13]= {{{0,0}, {0, rsin[u] rsin[u] (R+rCos[u])Sin[u] R+rCos[u] }}, {{0, R+rCos[u] }, { r,0}}} The way the geodesic equation is written here is even more complicated. The purpose of this code is to introduce you to functional programming. It is very easy to modify this code so that it works for objects of arbitrary dimensions. Check the Mathematica help for further details. In[14]:= GeodesicEquation[surf ace ][u ][t ]:= Module[{i, j, k}, Table[{u}[[k]] [t]+sum[ (ChristoffelSymbols[surface]@@(#[t]&/@{u}))[[i, j, k]] {u}[[i]] [t] {u}[[j]] [t], {i, 2}, {j, 2}] == 0, {k, 2}]]; In[15]:= Simplify[GeodesicEquation[torus[R, r]][u, v][t]] Out[15]= { (R+rCos[u[t]])Sin[u[t]]v [t] 2 +ru [t] r = 0, 2rSin[u[t]]u [t]v [t]+(r+rcos[u[t]])v [t] R+rCos[u[t]] = 0} 3.1 Ploting surfaces The following code generates a random surface that is the graph of a function defined on the rectangle [ 1, 1] [ 1, 1]. In[16]:= surface[x, y ]= Module[ {f =ListInterpolation[Array[RandomReal[{0, 1}]&,{6, 6}], {{ 1.2, 1.2}, { 1.2, 1.2}}]}, {x, y, f[x, y]}]; In[17]:= ParametricPlot3D[surf ace[x, y], {x, 1, 1}, {y, 1, 1}] Out[17]= The following function takes a surface and its domain and plots it with its normal vector and tangent plane. It basically uses CoordinateVector to draw the tangent plane and GaussMap to calculate the normal vector. These values are saved so that they do not have to be calculated everytime the point is moved. The dynamic interactivity is performed with the function Manipulate. In[18]:= PlotTangentNormal[surf ace, {u0, u1 }, {v0, v1 }]:=Module[ {u, v, g =ParametricPlot3D[surf ace[u, v], {u, u0, u1},{v, v0, v1}, 12

13 SphericalRegion True, Axes False], x1 =Evaluate[CoordinateVector[1][surf ace][#1, #2]]&, x2 =Evaluate[CoordinateVector[2][surf ace][#1, #2]]&, gm =Evaluate[GaussMap[surface][#1, #2]] &}, Manipulate[ Show[g, Graphics3D[ + x1@@p}]], Arrow[Tube[{surface@@p, surface@@p + x2@@p}]], Red, Arrow[Tube[{N[surf ace@@p], N[surf ace@@p+gm@@p]}]], EdgeForm[], Green, Polygon[{ N[surface@@p + (x1@@p) + (x2@@p)], N[surface@@p + (x1@@p) (x2@@p)], N[surface@@p (x1@@p) (x2@@p)], N[surface@@p (x1@@p) + (x2@@p)], N[surface@@p + (x1@@p) + (x2@@p)]}]}], PlotRangePadding 1], {{p, {u0, (v0 + v1)/2}, "Point"}, {u0, v0}, {u1, v1}}, ControlPlacement {Left}]]; In[19]:= PlotTangentNormal[surf ace, { 1, 1}, { 1, 1}] Out[19]= In[20]:= PlotTangentNormal[torus[2, 1], {0, 2π}, {0, 2π}] 13

14 Out[20]= The following function plots a surface painting it according to curvature. It takes the surface and the domain as parameters. Then it calculates the Gaussian curvature and saves the result in a variable. It uses a "TemparatureMap" function to colour: hot colours correspond to positive curvature and cold colours to negative curvature. The curvature is rescaled so that it fits in the interval [0,1]. Several other options are given. The function uses the command Quiet to prevent error messages from appearing when there are singular points. In[21]:= PlotGaussianCurvature[surf ace, {u0, u1 }, {v0, v1 }]:= Module[ {sc =Evaluate[GaussianCurvature[surf ace][#1, #2]]&,u, v}, Quiet[ParametricPlot3D[surf ace[u, v], {u, u0, u1}, {v, v0, v1}, ColorFunction (Glow[ColorData["TemperatureMap"] [0.5 + ArcTan[2.0sc[#4, #5]]/π]]]&), ColorFunctionScaling False, SphericalRegion True, PerformanceGoal "Quality",Axes False]]]; In[22]:= PlotGaussianCurvature[surf ace, { 1, 1}, { 1, 1}] Out[22]= In[23]:= PlotGaussianCurvature[torus[2, 1], {0, 2π}, {0, 2π}] 14

15 Out[23]= 3.2 Plotting geodesics Geodesics are very important objects of surfaces, but they are very difficult (usually impossible) to calculate in general. Here we show a piece of code that solves the geodesic equation numerically and plots a geodesic on a surface. In[24]:= PlotGeodesic[sup, {u0, u1 }, {v0, v1 }, opacity : 1]:= Module[ {u, v, x, sol, geq, max = 1.566, g = Evaluate[Metric[sup][#1, #2]]&, graphsup =ParametricPlot3D[sup[u, v], {u, u0, u1}, {v, v0, v1}, SphericalRegion True, Axes False, Mesh False, PerformanceGoal "Quality", PlotStyle Opacity[opacity]]}, geq =GeodesicEquation[sup][u[1], u[2]][v]; x =Evaluate[ {{1, 0}, { g[#1, #2][[1, 2]], g[#1, #2][[1, 1]]}/ Sqrt[g[#1, #2][[1, 1]]g[#1, #2][[2, 2]] g[#1, #2][[1, 2]] 2 ]}/ Sqrt[g[#1, #2][[1, 1]]]]&; Manipulate[Quiet[ sol =({u[1], u[2]}/.ndsolve[ Join[gEq, Thread[{u[1][0], u[2][0]} == pt], Thread[{u[1] [0], u[2] [0]} == (x@@pt).{cos[dir], Sin[dir]}]], {u[1], u[2]}, {v, 0.0, Tan[r]}][[1]]); Show[ graphsup, Graphics3D[{Sphere[N[sup@@pt], 0.05]}], ParametricPlot3D[ Evaluate[sup@@(#[u]&/@sol)], {u, 0, T an[r]}, PlotStyle Thick, PlotPoints 500], PlotRangePadding 0.1]], {{pt, {(u0+u1)/2, (v0+v1)/2}, "Point" }, {u0, v0}, {u1, v1}}, {{dir, 0, "Direction"}, 0, 2π}, {{r, Pi /4, "Length"}, 0.01, max}, Style[Dynamic["Real length: " <> ToString[N[Tan[r]]]]], 15

16 ControlPlacement Left, TrackedSymbols:>{pt, dir, r}]]; In[25]:= PlotGeodesic[surf ace, { 1, 1}, { 1, 1}] Out[25]= In[26]:= PlotGeodesic[torus[2, 1], {0, 2π}, {0, 2π}, 0.5] Out[26]= 16

GRAPHICAL REPRESENTATION OF SURFACES

GRAPHICAL 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 information

Assignment 1. Prolog to Problem 1. Two cylinders. ü Visualization. Problems by Branko Curgus

Assignment 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 information

A plane. Or, with more details, NotebookDirectory. C:\Dropbox\Work\myweb\Courses\Math_pages\Math_225\

A 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 information

Teaching 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 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 information

Review 1. Richard Koch. April 23, 2005

Review 1. Richard Koch. April 23, 2005 Review Richard Koch April 3, 5 Curves From the chapter on curves, you should know. the formula for arc length in section.;. the definition of T (s), κ(s), N(s), B(s) in section.4. 3. the fact that κ =

More information

Parametric Surfaces and Surface Area

Parametric Surfaces and Surface Area Parametric Surfaces and Surface Area What to know: 1. Be able to parametrize standard surfaces, like the ones in the handout.. Be able to understand what a parametrized surface looks like (for this class,

More information

(Discrete) Differential Geometry

(Discrete) Differential Geometry (Discrete) Differential Geometry Motivation Understand the structure of the surface Properties: smoothness, curviness, important directions How to modify the surface to change these properties What properties

More information

REPRESENTATION OF CURVES IN PARAMETRIC FORM

REPRESENTATION 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 information

Midterm Review II Math , Fall 2018

Midterm Review II Math , Fall 2018 Midterm Review II Math 2433-3, Fall 218 The test will cover section 12.5 of chapter 12 and section 13.1-13.3 of chapter 13. Examples in class, quizzes and homework problems are the best practice for the

More information

Parametric Curves, Polar Plots and 2D Graphics

Parametric 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 information

Tutorial 4. Differential Geometry I - Curves

Tutorial 4. Differential Geometry I - Curves 23686 Numerical Geometry of Images Tutorial 4 Differential Geometry I - Curves Anastasia Dubrovina c 22 / 2 Anastasia Dubrovina CS 23686 - Tutorial 4 - Differential Geometry I - Curves Differential Geometry

More information

Making Holes and Windows in Surfaces

Making 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 information

Introduction to Mathematica and Graphing in 3-Space

Introduction 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 information

A Mathematica Tutorial

A Mathematica Tutorial A Mathematica Tutorial -3-8 This is a brief introduction to Mathematica, the symbolic mathematics program. This tutorial is generic, in the sense that you can use it no matter what kind of computer you

More information

MATH 162 Calculus II Computer Laboratory Topic: Introduction to Mathematica & Parametrizations

MATH 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 information

Motivation. Parametric Curves (later Surfaces) Outline. Tangents, Normals, Binormals. Arclength. Advanced Computer Graphics (Fall 2010)

Motivation. Parametric Curves (later Surfaces) Outline. Tangents, Normals, Binormals. Arclength. Advanced Computer Graphics (Fall 2010) Advanced Computer Graphics (Fall 2010) CS 283, Lecture 19: Basic Geometric Concepts and Rotations Ravi Ramamoorthi http://inst.eecs.berkeley.edu/~cs283/fa10 Motivation Moving from rendering to simulation,

More information

CurvesGraphics. A free package for Advanced Calculus illustrations. Gianluca Gorni. Arrows on 2D curves. Motivation

CurvesGraphics. 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 information

Some Examples to Show That Objects Be Presented by Mathematical Equations

Some 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 information

Space Curves of Constant Curvature *

Space Curves of Constant Curvature * Space Curves of Constant Curvature * 2-11 Torus Knot of constant curvature. See also: About Spherical Curves Definition via Differential Equations. Space Curves that 3DXM can exhibit are mostly given in

More information

2Surfaces. Design with Bézier Surfaces

2Surfaces. Design with Bézier Surfaces You don t see something until you have the right metaphor to let you perceive it. James Gleick Surfaces Design with Bézier Surfaces S : r(u, v) = Bézier surfaces represent an elegant way to build a surface,

More information

Problem #130 Ant On Cylinders

Problem #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 information

Measuring Lengths The First Fundamental Form

Measuring Lengths The First Fundamental Form Differential Geometry Lia Vas Measuring Lengths The First Fundamental Form Patching up the Coordinate Patches. Recall that a proper coordinate patch of a surface is given by parametric equations x = (x(u,

More information

How to use Geometric Software in Courses of Differential Geometry

How to use Geometric Software in Courses of Differential Geometry How to use Geometric Software in Courses of Differential Geometry TOMICZKOVÁ Světlana, JEŽEK František KMA FAV ZČU Plzeň 2018 Coimbra 2018 How to use Geometric Software in Courses of Differential Geometry

More information

ON THE GEODESIC TORSION OF A TANGENTIAL INTERSECTION CURVE OF TWO SURFACES IN R Introduction

ON THE GEODESIC TORSION OF A TANGENTIAL INTERSECTION CURVE OF TWO SURFACES IN R Introduction ON THE GEODESIC TORSION OF A TANGENTIAL INTERSECTION CURVE OF TWO SURFACES IN R 3 B. UYAR DÜLDÜL and M. ÇALIŞKAN Abstract. In this paper, we find the unit tangent vector and the geodesic torsion of the

More information

ON THE GEODESIC TORSION OF A TANGENTIAL INTERSECTION CURVE OF TWO SURFACES IN R Introduction

ON THE GEODESIC TORSION OF A TANGENTIAL INTERSECTION CURVE OF TWO SURFACES IN R Introduction Acta Math. Univ. Comenianae Vol. LXXXII, (3), pp. 77 89 77 ON THE GEODESIC TORSION OF A TANGENTIAL INTERSECTION CURVE OF TWO SURFACES IN R 3 B. UYAR DÜLDÜL and M. ÇALIŞKAN Abstract. In this paper, we find

More information

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 1, f 2,, x, x min, x max plots several functions f i.

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 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 information

Volumes of Solids of Revolution Lecture #6 a

Volumes of Solids of Revolution Lecture #6 a Volumes of Solids of Revolution Lecture #6 a Sphereoid Parabaloid Hyperboloid Whateveroid Volumes Calculating 3-D Space an Object Occupies Take a cross-sectional slice. Compute the area of the slice. Multiply

More information

Functions f and g are called a funny cosine and a funny sine if they satisfy the following properties:

Functions 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 information

Representations of Curves and Surfaces, and of their Tangent Lines, and Tangent Planes in R 2 and R 3 Robert L.Foote, Fall 2007

Representations 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 information

Lab 2B Parametrizing Surfaces Math 2374 University of Minnesota Questions to:

Lab 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 information

Final Review II: Examples

Final Review II: Examples Final Review II: Examles We go through last year's nal. This should not be treated as a samle nal. Question. Let (s) cos s; cos s; sin s. a) Prove that s is the arc length arameter. b) Calculate ; ; T

More information

Differential Geometry MAT WEEKLY PROGRAM 1-2

Differential Geometry MAT WEEKLY PROGRAM 1-2 15.09.014 WEEKLY PROGRAM 1- The first week, we will talk about the contents of this course and mentioned the theory of curves and surfaces by giving the relation and differences between them with aid of

More information

Explore 3D Figures. Dr. Jing Wang (517) , Lansing Community College, Michigan, USA

Explore 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 information

5 Applications of Definite Integrals

5 Applications of Definite Integrals 5 Applications of Definite Integrals The previous chapter introduced the concepts of a definite integral as an area and as a limit of Riemann sums, demonstrated some of the properties of integrals, introduced

More information

Mathematical Computing

Mathematical Computing IMT2b2β Department of Mathematics University of Ruhuna A.W.L. Pubudu Thilan Graphics in Maxima Introduction Gnuplot is a comand-line oriented plot program. Maxima s plotting is based on the Gnuplot, which

More information

The diagram above shows a sketch of the curve C with parametric equations

The diagram above shows a sketch of the curve C with parametric equations 1. The diagram above shows a sketch of the curve C with parametric equations x = 5t 4, y = t(9 t ) The curve C cuts the x-axis at the points A and B. (a) Find the x-coordinate at the point A and the x-coordinate

More information

Classes 7-8 (4 hours). Graphics in Matlab.

Classes 7-8 (4 hours). Graphics in Matlab. Classes 7-8 (4 hours). Graphics in Matlab. Graphics objects are displayed in a special window that opens with the command figure. At the same time, multiple windows can be opened, each one assigned a number.

More information

MEI GeoGebra Tasks for A2 Core

MEI 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 information

Problem 25 in Section 16.3

Problem 25 in Section 16.3 Problem 5 in Section 16.3 In[1]:= Recall that in this problem we are studying the pyramid bounded by the planes z 6, y 0, y x 4 and x y z 4. In class we calculated all the vertices of this pyramid. Now

More information

B.Stat / B.Math. Entrance Examination 2017

B.Stat / B.Math. Entrance Examination 2017 B.Stat / B.Math. Entrance Examination 017 BOOKLET NO. TEST CODE : UGA Forenoon Questions : 0 Time : hours Write your Name, Registration Number, Test Centre, Test Code and the Number of this Booklet in

More information

1 Basic Plotting. Radii Speeds Offsets 1, 1, 1 2, 5, 19 0, 0, 0 1, 0.8, 0.4, 0.2, 0.4, 0.2 1, 10, 17, 26, 28, 37 0, Π, Π, 0, 0, Π

1 Basic Plotting. Radii Speeds Offsets 1, 1, 1 2, 5, 19 0, 0, 0 1, 0.8, 0.4, 0.2, 0.4, 0.2 1, 10, 17, 26, 28, 37 0, Π, Π, 0, 0, Π 1 Basic Plotting Placing wheels on wheels on wheels and giving them different rates of spin leads to some interesting parametric plots. The images show four examples. They arise from the values below,

More information

Lecture 11 Differentiable Parametric Curves

Lecture 11 Differentiable Parametric Curves Lecture 11 Differentiable Parametric Curves 11.1 Definitions and Examples. 11.1.1 Definition. A differentiable parametric curve in R n of class C k (k 1) is a C k map t α(t) = (α 1 (t),..., α n (t)) of

More information

Geometric Primitives. Chapter 5

Geometric Primitives. Chapter 5 Chapter 5 Geometric Primitives In this chapter, we discuss the basic geometric primitives we will use to represent the world in which our graphic objects live. As discussed at the beginning of this class,

More information

Section Parametrized Surfaces and Surface Integrals. (I) Parametrizing Surfaces (II) Surface Area (III) Scalar Surface Integrals

Section Parametrized Surfaces and Surface Integrals. (I) Parametrizing Surfaces (II) Surface Area (III) Scalar Surface Integrals Section 16.4 Parametrized Surfaces and Surface Integrals (I) Parametrizing Surfaces (II) Surface Area (III) Scalar Surface Integrals MATH 127 (Section 16.4) Parametrized Surfaces and Surface Integrals

More information

Graphs of Functions, Limits, and

Graphs 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 information

Surfaces. Ron Goldman Department of Computer Science Rice University

Surfaces. Ron Goldman Department of Computer Science Rice University Surfaces Ron Goldman Department of Computer Science Rice University Representations 1. Parametric Plane, Sphere, Tensor Product x = f (s,t) y = g(s,t) z = h(s,t) 2. Algebraic Plane, Sphere, Torus F(x,

More information

Calculus III. Math 233 Spring In-term exam April 11th. Suggested solutions

Calculus III. Math 233 Spring In-term exam April 11th. Suggested solutions Calculus III Math Spring 7 In-term exam April th. Suggested solutions This exam contains sixteen problems numbered through 6. Problems 5 are multiple choice problems, which each count 5% of your total

More information

{σ 1}; Hessian2D[f_] := yleft = -12; xright = 5; yright = 5; max4 = FindMaximum[Det[Hessian2D[f]] // Evaluate, {{x, -10}, {y, -10}}][[2, ;;, 2]]

{σ 1}; Hessian2D[f_] := yleft = -12; xright = 5; yright = 5; max4 = FindMaximum[Det[Hessian2D[f]] // Evaluate, {{x, -10}, {y, -10}}][[2, ;;, 2]] g[x_, y_] := f[x_, y_] := x 1 2 +y 2 2 * π * σ * 2 e- 2*σ 2 ; 10 g[x, y] + g[x + i, y] + g[x, y + i] + g[x + 10, y + 10] /. {σ 1}; i=1 10 i=1 Hessian2D[f_] := D[D[f[x, y], {x}], {x}] D[D[f[x, y], {x}],

More information

4. Dynamic Interactivity

4. Dynamic Interactivity 4. Dynamic Interactivity Mathematica has several dynamic elements. It is very useful for visualization of the results if the problem contains some parameters and one wants to study it under the change

More information

The Self-Linking of Torus Knots

The Self-Linking of Torus Knots The Self-Linking of Torus Knots Edgar J. Fuller, Jr. (ef@math.wvu.edu) Department of Mathematics, West Virginia University, Morgantown, WV 26508 Abstract. Torus knots are a widely studied class of space

More information

NAME: Section # SSN: X X X X

NAME: Section # SSN: X X X X Math 155 FINAL EXAM A May 5, 2003 NAME: Section # SSN: X X X X Question Grade 1 5 (out of 25) 6 10 (out of 25) 11 (out of 20) 12 (out of 20) 13 (out of 10) 14 (out of 10) 15 (out of 16) 16 (out of 24)

More information

MATH 31A HOMEWORK 9 (DUE 12/6) PARTS (A) AND (B) SECTION 5.4. f(x) = x + 1 x 2 + 9, F (7) = 0

MATH 31A HOMEWORK 9 (DUE 12/6) PARTS (A) AND (B) SECTION 5.4. f(x) = x + 1 x 2 + 9, F (7) = 0 FROM ROGAWSKI S CALCULUS (2ND ED.) SECTION 5.4 18.) Express the antiderivative F (x) of f(x) satisfying the given initial condition as an integral. f(x) = x + 1 x 2 + 9, F (7) = 28.) Find G (1), where

More information

Mathematics Computer Laboratory - Math Version 11 Lab 7 - Graphics c

Mathematics Computer Laboratory - Math Version 11 Lab 7 - Graphics c Mathematics Computer Laboratory - Math 1200 - Version 11 Lab 7 - Graphics c Due You should only turn in exercises in this lab with its title and your name in Title and Subtitle font, respectively. Edit

More information

AQA GCSE Further Maths Topic Areas

AQA GCSE Further Maths Topic Areas AQA GCSE Further Maths Topic Areas This document covers all the specific areas of the AQA GCSE Further Maths course, your job is to review all the topic areas, answering the questions if you feel you need

More information

Instructions and information

Instructions and information Instructions and information. Check that this paper has a total of 5 pages including the cover page.. This is a closed book exam. Calculators and electronic devices are not allowed. Notes and dictionaries

More information

MATH 2400: CALCULUS 3 MAY 9, 2007 FINAL EXAM

MATH 2400: CALCULUS 3 MAY 9, 2007 FINAL EXAM MATH 4: CALCULUS 3 MAY 9, 7 FINAL EXAM I have neither given nor received aid on this exam. Name: 1 E. Kim................ (9am) E. Angel.............(1am) 3 I. Mishev............ (11am) 4 M. Daniel...........

More information

ME 115(b): Final Exam, Spring

ME 115(b): Final Exam, Spring ME 115(b): Final Exam, Spring 2011-12 Instructions 1. Limit your total time to 5 hours. That is, it is okay to take a break in the middle of the exam if you need to ask me a question, or go to dinner,

More information

Basics of Computational Geometry

Basics of Computational Geometry Basics of Computational Geometry Nadeem Mohsin October 12, 2013 1 Contents This handout covers the basic concepts of computational geometry. Rather than exhaustively covering all the algorithms, it deals

More information

16.6. Parametric Surfaces. Parametric Surfaces. Parametric Surfaces. Vector Calculus. Parametric Surfaces and Their Areas

16.6. Parametric Surfaces. Parametric Surfaces. Parametric Surfaces. Vector Calculus. Parametric Surfaces and Their Areas 16 Vector Calculus 16.6 and Their Areas Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. and Their Areas Here we use vector functions to describe more general

More information

Wolfram Mathematica Tutorial Collection. Visualization and Graphics

Wolfram 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 information

INSTRUCTIONS FOR THE USE OF THE SUPER RULE TM

INSTRUCTIONS FOR THE USE OF THE SUPER RULE TM INSTRUCTIONS FOR THE USE OF THE SUPER RULE TM NOTE: All images in this booklet are scale drawings only of template shapes and scales. Preparation: Your SUPER RULE TM is a valuable acquisition for classroom

More information

Background for Surface Integration

Background for Surface Integration Background for urface Integration 1 urface Integrals We have seen in previous work how to define and compute line integrals in R 2. You should remember the basic surface integrals that we will need to

More information

Math 251 Quiz 5 Fall b. Calculate. 2. Sketch the region. Write as one double integral by interchanging the order of integration: 2

Math 251 Quiz 5 Fall b. Calculate. 2. Sketch the region. Write as one double integral by interchanging the order of integration: 2 Math 251 Quiz 5 Fall 2002 1. a. Calculate 5 1 0 1 x dx dy b. Calculate 1 5 1 0 xdxdy 2. Sketch the region. Write as one double integral by interchanging the order of integration: 0 2 dx 2 x dy f(x,y) +

More information

Solution 2. ((3)(1) (2)(1), (4 3), (4)(2) (3)(3)) = (1, 1, 1) D u (f) = (6x + 2yz, 2y + 2xz, 2xy) (0,1,1) = = 4 14

Solution 2. ((3)(1) (2)(1), (4 3), (4)(2) (3)(3)) = (1, 1, 1) D u (f) = (6x + 2yz, 2y + 2xz, 2xy) (0,1,1) = = 4 14 Vector and Multivariable Calculus L Marizza A Bailey Practice Trimester Final Exam Name: Problem 1. To prepare for true/false and multiple choice: Compute the following (a) (4, 3) ( 3, 2) Solution 1. (4)(

More information

Geometric approximation of curves and singularities of secant maps Ghosh, Sunayana

Geometric approximation of curves and singularities of secant maps Ghosh, Sunayana University of Groningen Geometric approximation of curves and singularities of secant maps Ghosh, Sunayana IMPORTANT NOTE: You are advised to consult the publisher's version (publisher's PDF) if you wish

More information

1. How Mathematica works

1. How Mathematica works Departments of Civil Engineering and Mathematics CE 109: Computing for Engineering Mathematica Session 1: Introduction to the system Mathematica is a piece of software described by its manufacturers as

More information

MA 243 Calculus III Fall Assignment 1. Reading assignments are found in James Stewart s Calculus (Early Transcendentals)

MA 243 Calculus III Fall Assignment 1. Reading assignments are found in James Stewart s Calculus (Early Transcendentals) MA 43 Calculus III Fall 8 Dr. E. Jacobs Assignments Reading assignments are found in James Stewart s Calculus (Early Transcendentals) Assignment. Spheres and Other Surfaces Read. -. and.6 Section./Problems

More information

Multiple Integrals. max x i 0

Multiple Integrals. max x i 0 Multiple Integrals 1 Double Integrals Definite integrals appear when one solves Area problem. Find the area A of the region bounded above by the curve y = f(x), below by the x-axis, and on the sides by

More information

MATH 200 (Fall 2016) Exam 1 Solutions (a) (10 points) Find an equation of the sphere with center ( 2, 1, 4).

MATH 200 (Fall 2016) Exam 1 Solutions (a) (10 points) Find an equation of the sphere with center ( 2, 1, 4). MATH 00 (Fall 016) Exam 1 Solutions 1 1. (a) (10 points) Find an equation of the sphere with center (, 1, 4). (x ( )) + (y 1) + (z ( 4)) 3 (x + ) + (y 1) + (z + 4) 9 (b) (10 points) Find an equation of

More information

MAC2313 Final A. a. The vector r u r v lies in the tangent plane of S at a given point. b. S f(x, y, z) ds = R f(r(u, v)) r u r v du dv.

MAC2313 Final A. a. The vector r u r v lies in the tangent plane of S at a given point. b. S f(x, y, z) ds = R f(r(u, v)) r u r v du dv. MAC2313 Final A (5 pts) 1. Let f(x, y, z) be a function continuous in R 3 and let S be a surface parameterized by r(u, v) with the domain of the parameterization given by R; how many of the following are

More information

DGeometrica. A Mathematica package for differential geometry. Yoshihiko TAZAWA. 1. Abstract. 2. Plane curves

DGeometrica. A Mathematica package for differential geometry. Yoshihiko TAZAWA. 1. Abstract. 2. Plane curves DGeometrica A Mathematica package for differential geometry Yoshihiko TAZAWA School of Information Environment Tokyo Denki University 2 200 Muzai gakuendai Inzai, Chiba Pref. 270 382 JAPAN tazawa@cck.dendai.ac.jp.

More information

t dt ds Then, in the last class, we showed that F(s) = <2s/3, 1 2s/3, s/3> is arclength parametrization. Therefore,

t dt ds Then, in the last class, we showed that F(s) = <2s/3, 1 2s/3, s/3> is arclength parametrization. Therefore, 13.4. Curvature Curvature Let F(t) be a vector values function. We say it is regular if F (t)=0 Let F(t) be a vector valued function which is arclength parametrized, which means F t 1 for all t. Then,

More information

Parametric Surfaces. Substitution

Parametric Surfaces. Substitution Calculus Lia Vas Parametric Surfaces. Substitution Recall that a curve in space is given by parametric equations as a function of single parameter t x = x(t) y = y(t) z = z(t). A curve is a one-dimensional

More information

PG TRB MATHS /POLYTECNIC TRB MATHS NATIONAL ACADEMY DHARMAPURI

PG TRB MATHS /POLYTECNIC TRB MATHS NATIONAL ACADEMY DHARMAPURI PG TRB MATHS /POLYTECNIC TRB MATHS CLASSES WILL BE STARTED ON JULY 7 th Unitwise study materials and question papers available contact: 8248617507, 7010865319 PG TRB MATHS DIFFERENTIAL GEOMETRY TOTAL MARKS:100

More information

Preliminary Mathematics of Geometric Modeling (3)

Preliminary Mathematics of Geometric Modeling (3) Preliminary Mathematics of Geometric Modeling (3) Hongxin Zhang and Jieqing Feng 2006-11-27 State Key Lab of CAD&CG, Zhejiang University Differential Geometry of Surfaces Tangent plane and surface normal

More information

WWW links for Mathematics 138A notes

WWW links for Mathematics 138A notes WWW links for Mathematics 138A notes General statements about the use of Internet resources appear in the document listed below. We shall give separate lists of links for each of the relevant files in

More information

Econ 353 Final Project Mark Gillis University of Victoria. Mathematica Model Portfolio

Econ 353 Final Project Mark Gillis University of Victoria. Mathematica Model Portfolio Econ 353 Final Project Mark Gillis University of Victoria Mathematica Model Portfolio Introduction The following is a portfolio of Mathematica models that I created predominately for the purpose of teaching.

More information

First of all, we need to know what it means for a parameterize curve to be differentiable. FACT:

First of all, we need to know what it means for a parameterize curve to be differentiable. FACT: CALCULUS WITH PARAMETERIZED CURVES In calculus I we learned how to differentiate and integrate functions. In the chapter covering the applications of the integral, we learned how to find the length of

More information

Symbolic Computational Approach to Construct a 3D Torus Via Curvature

Symbolic Computational Approach to Construct a 3D Torus Via Curvature Symbolic Computational Approach to Construct a 3D Torus Via Curvature A. Iglesias 1,2,, R. Velesmoro 3, R. Ipanaqué 3 1 Department of Applied Mathematics and Computational Sciences, University of Cantabria,

More information

Clipping Polygons. A routine for clipping polygons has a variety of graphics applications.

Clipping Polygons. A routine for clipping polygons has a variety of graphics applications. The Mathematica Journal Clipping Polygons Garry Helzer Department of Mathematics University of Maryland College Park, MD 20742 gah@math.umd.edu A routine for clipping polygons has a variety of graphics

More information

Lecture 23. Surface integrals, Stokes theorem, and the divergence theorem. Dan Nichols

Lecture 23. Surface integrals, Stokes theorem, and the divergence theorem. Dan Nichols Lecture 23 urface integrals, tokes theorem, and the divergence theorem an Nichols nichols@math.umass.edu MATH 233, pring 218 University of Massachusetts April 26, 218 (2) Last time: Green s theorem Theorem

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.

ü 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 information

1 An introduction to Mathematica

1 An introduction to Mathematica An introduction to Mathematica Mathematica is a very large and seemingly complex system. It contains hundreds of functions for performing various tasks in science, mathematics, and engineering, including

More information

OffPlot::"plnr"; OffGraphics::"gptn"; OffParametricPlot3D::"plld" Needs"Graphics`Arrow`" Needs"VisualLA`"

OffPlot::plnr; OffGraphics::gptn; OffParametricPlot3D::plld NeedsGraphics`Arrow` NeedsVisualLA` Printed from the Mathematica Help Browser of.: Transformation of Functions In this section, we will explore three types of transformations:.) Shifting.) Reflections (or flips).) Stretches and compressions

More information

Exam 3 SCORE. MA 114 Exam 3 Spring Section and/or TA:

Exam 3 SCORE. MA 114 Exam 3 Spring Section and/or TA: MA 114 Exam 3 Spring 217 Exam 3 Name: Section and/or TA: Last Four Digits of Student ID: Do not remove this answer page you will return the whole exam. You will be allowed two hours to complete this test.

More information

Fathi El-Yafi Project and Software Development Manager Engineering Simulation

Fathi El-Yafi Project and Software Development Manager Engineering Simulation An Introduction to Geometry Design Algorithms Fathi El-Yafi Project and Software Development Manager Engineering Simulation 1 Geometry: Overview Geometry Basics Definitions Data Semantic Topology Mathematics

More information

3.7. Vertex and tangent

3.7. Vertex and tangent 3.7. Vertex and tangent Example 1. At the right we have drawn the graph of the cubic polynomial f(x) = x 2 (3 x). Notice how the structure of the graph matches the form of the algebraic expression. The

More information

What is log a a equal to?

What is log a a equal to? How would you differentiate a function like y = sin ax? What is log a a equal to? How do you prove three 3-D points are collinear? What is the general equation of a straight line passing through (a,b)

More information

Math Parametric Surfaces

Math Parametric Surfaces Math 13 - Parametric Surfaces Peter A. Perry University of Kentucky April 15, 019 Homework Homework D is due Wednesday Work on Stewart problems for 16.6: 1-5 odd, 33, 39-49 odd Read section 16.7 for Wednesday,

More information

Math 32, August 20: Review & Parametric Equations

Math 32, August 20: Review & Parametric Equations Math 3, August 0: Review & Parametric Equations Section 1: Review This course will continue the development of the Calculus tools started in Math 30 and Math 31. The primary difference between this course

More information

ME 111: Engineering Drawing. Geometric Constructions

ME 111: Engineering Drawing. Geometric Constructions ME 111: Engineering Drawing Lecture 2 01-08-2011 Geometric Constructions Indian Institute of Technology Guwahati Guwahati 781039 Geometric Construction Construction of primitive geometric forms (points,

More information

A Brief Introduction to Mathematica

A Brief Introduction to Mathematica A Brief Introduction to Mathematica Objectives: (1) To learn to use Mathematica as a calculator. (2) To learn to write expressions in Mathematica, and to evaluate them at given point. (3) To learn to plot

More information

Maths Year 11 Mock Revision list

Maths Year 11 Mock Revision list Maths Year 11 Mock Revision list F = Foundation Tier = Foundation and igher Tier = igher Tier Number Tier Topic know and use the word integer and the equality and inequality symbols use fractions, decimals

More information

HSC Mathematics - Extension 1. Workshop E2

HSC Mathematics - Extension 1. Workshop E2 HSC Mathematics - Extension Workshop E Presented by Richard D. Kenderdine BSc, GradDipAppSc(IndMaths), SurvCert, MAppStat, GStat School of Mathematics and Applied Statistics University of Wollongong Moss

More information

Introduction to Geogebra

Introduction to Geogebra Aims Introduction to Geogebra Using Geogebra in the A-Level/Higher GCSE Classroom To provide examples of the effective use of Geogebra in the teaching and learning of mathematics at A-Level/Higher GCSE.

More information

Construction and smoothing of triangular Coons patches with geodesic boundary curves

Construction and smoothing of triangular Coons patches with geodesic boundary curves Construction and smoothing of triangular Coons patches with geodesic boundary curves R. T. Farouki, (b) N. Szafran, (a) L. Biard (a) (a) Laboratoire Jean Kuntzmann, Université Joseph Fourier Grenoble,

More information

Chapter 8: Applications of Definite Integrals

Chapter 8: Applications of Definite Integrals Name: Date: Period: AP Calc AB Mr. Mellina Chapter 8: Applications of Definite Integrals v v Sections: 8.1 Integral as Net Change 8.2 Areas in the Plane v 8.3 Volumes HW Sets Set A (Section 8.1) Pages

More information

2D rendering takes a photo of the 2D scene with a virtual camera that selects an axis aligned rectangle from the scene. The photograph is placed into

2D rendering takes a photo of the 2D scene with a virtual camera that selects an axis aligned rectangle from the scene. The photograph is placed into 2D rendering takes a photo of the 2D scene with a virtual camera that selects an axis aligned rectangle from the scene. The photograph is placed into the viewport of the current application window. A pixel

More information

1. Use the Trapezium Rule with five ordinates to find an approximate value for the integral

1. Use the Trapezium Rule with five ordinates to find an approximate value for the integral 1. Use the Trapezium Rule with five ordinates to find an approximate value for the integral Show your working and give your answer correct to three decimal places. 2 2.5 3 3.5 4 When When When When When

More information

4 Visualization and. Approximation

4 Visualization and. Approximation 4 Visualization and Approximation b A slope field for the differential equation y tan(x + y) tan(x) tan(y). It is not always possible to write down an explicit formula for the solution to a differential

More information