Shape - preserving functions

Size: px
Start display at page:

Download "Shape - preserving functions"

Transcription

1 Shape - preserving functions Introduction This Mathematica notebook is licensed under a Creative Commons Attribution - ShareAlike 3.0 License It creates the demonstrations used in my post Maps. Graphs created using this notebook may be found at I hope anyone interested will feel free to improve this work and to use it in their own publications and coursework. Preliminaries Colors c = RGBColor[.3,.,.3]; c = RGBColor[.7,.,.]; c3 = RGBColor[.5,.3,.5] Sample matrix to work with mat := {{-.,.3}, {-,.5}} TableForm[{{-0.,.3}, {-, 0.5}}] mat // Det. imat = mat // Inverse {{0.5, -.3}, {., -0.}}

2 Functions and shapes.nb Circle cc[c_, r_, col_] := ParametricPlot[{ r Cos[t], r Sin[t]} + c, {t, 0, Pi}, PlotStyle {Thick, col}, ImageSize 00] cc[{, },., Red] Straight line ln[p_, q_, color_] := ParametricPlotp x + q - x, {x, 0, }, PlotStyle {Thick, color}, ImageSize 00 ln[{.9,.5}, {-, }, c] Rectangle rect[p_, q_, color_] := Show[ ] { } ln[p, {p[[]], q[[]]}, color], ln[{p[[]], q[[]]}, q, color], ln[q, {q[[]], p[[]]}, color], ln[{q[[]], p[[]]}, p, color] rect[{-, }, {-.7,.5}, c] Special triangle tr[p_, color_] := {ln[p, {p[[]] -., p[[]] +.}, color], ln[{p[[]] -., p[[]] +.}, {p[[]] +., p[[]] +.}, color], ln[{p[[]] +., p[[]] +.}, p, color]}

3 Functions and shapes.nb 3 Show[tr[{, }, c3], ImageSize 00, PlotRange {{0.5,.3}, {.5, }}, AspectRatio -> Automatic] Display shapes Show[ {cc[{, },., c], rect[{.3, }, {.7,.}, c], tr[{, 3}, c3] }, Axes -> True, AxesOrigin {0, 0}, PlotRange {{-, }, {0, }}, ImageSize 00 ]

4 Functions and shapes.nb Image of circle ParametricPlot[mat.# &[{. Cos[t],. Sin[t]} + 0], {t, 0, Pi}, PlotStyle {Thick, c}, ImageSize 00] apcc[c_, r_, col_, ap_] := ParametricPlot[ap[{ r Cos[t], r Sin[t]} + c], {t, 0, Pi}, PlotStyle {Thick, col}, ImageSize 00] apcc[{, },., c, mat.# &] apcc[{0, 0},., c, mat.# &] Image of rectangle ln[p_, q_, color_] := ParametricPlotp x + q - x, {x, 0, }, PlotStyle {Thick, color}, ImageSize 00 apln[p_, q_, color_, ap_] := ParametricPlotapp x + q - x, {x, 0, }, PlotStyle {Thick, color}, ImageSize 00

5 Functions and shapes.nb 5 ln[{, }, {, }, c] Show[apln[{, }, {, }, c, mat.# &], PlotRange -> {{-, }, {-, 0}}, AspectRatio Automatic, ImageSize 00] aprect[p_, q_, color_, ap_] := Show[ ] { } apln[p, {p[[]], q[[]]}, color, ap], apln[{p[[]], q[[]]}, q, color, ap], apln[q, {q[[]], p[[]]}, color, ap], apln[{q[[]], p[[]]}, p, color, ap] rect[{-, }, {-.7,.5}, c] Show[aprect[{-, }, {-.7,.5}, c, mat.# &], PlotRange Automatic, AspectRatio Automatic, ImageSize 00]

6 Functions and shapes.nb Image of triangle tr[p_, color_] := {ln[p, {p[[]] -., p[[]] +.}, color], ln[{p[[]] -., p[[]] +.}, {p[[]] +., p[[]] +.}, color], ln[{p[[]] +., p[[]] +.}, p, color]} aptr[p_, color_, ap_] := {apln[p, {p[[]] -., p[[]] +.}, color, ap], apln[{p[[]] -., p[[]] +.}, {p[[]] +., p[[]] +.}, color, ap], apln[{p[[]] +., p[[]] +.}, p, color, ap]} Show[aptr[{, }, c3, mat.# &]] Variable matrix with det df[a_, b_, c_, d_] := -b c + a d Solve[-b c + a d, {a}] a + b c d Solve[-b c + a, {a}] {{a + b c}}

7 Functions and shapes.nb 7 Display area-preserving functions Manipulate Module {mat}, mat[b_, c_, d_] := + b c d, b, {c, d}; ShowGraphics[Text[mat[b, c, d] // MatrixForm, {7, }]], cc[{, },., c], apcc[{, },., c, mat[b, c, d].# &], rect[{.3, }, {.7,.}, c], aprect[{.3, }, {.7,.}, c, mat[b, c, d].# &], tr[{, 3}, c3], aptr[{, 3}, c3, mat[b, c, d].# &], Axes -> True, AxesOrigin {0, 0}, PlotRange {{-, 9}, {-, }}, AspectRatio 7 3, ImageSize 00, {{b,.7}, -,, Appearance "Open"}, {{c,.}, -,, Appearance "Open"}, {{d, }, 0.5,.5, Appearance "Open"}, SaveDefinitions True b c d

8 Functions and shapes.nb b c d

9 Functions and shapes.nb 9 b c d Examples apf[b_, c_, d_] := Module {mat}, mat[b, c, d] = + b c d, b, {c, d}; ShowGraphics[Text[mat[b, c, d] // MatrixForm, {7, }]], cc[{, },., c], apcc[{, },., c, mat[b, c, d].# &], rect[{.3, }, {.7,.}, c], aprect[{.3, }, {.7,.}, c, mat[b, c, d].# &], tr[{, 3}, c3], aptr[{, 3}, c3, mat[b, c, d].# &], Axes -> True, AxesOrigin {0, 0}, PlotRange {{-, 9}, {-, }}, AspectRatio 7 3, ImageSize 00

10 0 Functions and shapes.nb apf[.5,.5, ] Show[apf[.5,.5, ], Graphics[{Arrowheads[0.0], c3, Arrow[{{, 3.5}, {3, }}, 0], c, Arrow[{{,.5}, {.5,.5}}, 0], c, Arrow[{{, }, {.75,.5}}, 0]}]] Show[apf[0,.,.5], Graphics[{Arrowheads[0.0], c3, Arrow[{{, 3.5}, {,.}}, 0], c, Arrow[{{,.5}, {,.5}}, 0], c, Arrow[{{, }, {, 0.5}}, 0]}]]

11 Functions and shapes.nb Show[apf[-,.5,.5], Graphics[{Arrowheads[0.0], c3, Arrow[{{, 3.5}, {-.,.3}}, 0], c, Arrow[{{,.5}, {-.3,.5}}, 0], c, Arrow[{{, }, {0, }}, 0]}]] Show[apf[-, -,.5], Graphics[{Arrowheads[0.0], c3, Arrow[{{, 3.5}, {.5,.75}}, 0], c, Arrow[{{,.5}, {.5,.5}}, 0], c, Arrow[{{, }, {3, -.5}}, 0]}]] Angle-preserving functions expmat = {{Cos[t], -Sin[t]}, {Sin[t], Cos[t]}} {{Cos[t], -Sin[t]}, {Sin[t], Cos[t]}} expmat // MatrixForm Cos[t] -Sin[t] Sin[t] Cos[t] rnd[x_] := Round[x,.0]

12 Functions and shapes.nb Manipulate Module {mat}, mat[a_, t_] := a {{Cos[t], -Sin[t]}, {Sin[t], Cos[t]}}; ShowGraphics[Text[rnd[mat[a, t]] // MatrixForm, {5, }]], cc[{, },., c], apcc[{, },., c, mat[a, t].# &], rect[{.3, }, {.7,.}, c], aprect[{.3, }, {.7,.}, c, mat[a, t].# &], tr[{, 3}, c3], aptr[{, 3}, c3, mat[a, t].# &], Axes -> True, AxesOrigin {0, 0}, PlotRange {{-, }, {-3, }}, AspectRatio 7, ImageSize 00, {t,.7}, -Pi, Pi, -., Appearance "Open", {{a, }, 0,, Appearance "Open"} t a rnd

13 Functions and shapes.nb 3 epf[t_, a_] := Module {mat}, mat[a, t] = a {{Cos[t], -Sin[t]}, {Sin[t], Cos[t]}}; ShowGraphics[Text[rnd[mat[a, t]] // MatrixForm, {5, }]], cc[{, },., c], apcc[{, },., c, mat[a, t].# &], rect[{.3, }, {.7,.}, c], aprect[{.3, }, {.7,.}, c, mat[a, t].# &], tr[{, 3}, c3], aptr[{, 3}, c3, mat[a, t].# &], Axes -> True, AxesOrigin {0, 0}, PlotRange {{-, }, {-3, }}, AspectRatio 7, ImageSize 00 Show[epf[.7,.5], Graphics[{Arrowheads[0.0], c3, Arrow[{{, 3.5}, {-.3, 5}}, 0], c, Arrow[{{,.5}, {-., 3.}}, 0], c, Arrow[{{, }, {.,.}}, 0]}]] {{.5, -0.97}, {0.97,.5}} {{.5, -0.97}, {0.97,.5}} Pi // N.570

14 Functions and shapes.nb Show[epf[-.,.7], Graphics[{Arrowheads[0.0], c3, Arrow[{{, 3.5}, {, -}}, 0], c, Arrow[{{,.5}, {, -}}, 0], c, Arrow[{{, }, {.75, -}}, 0]}]] {{-.05,.7}, {-.7, -.05}} {{-0.05,.7}, {-.7, -0.05}} Show[epf[.,.], Graphics[{Arrowheads[0.0], c3, Arrow[{{, 3.5}, {-.75,.3}}, 0], c, Arrow[{{,.5}, {-.5,.05}}, 0], c, Arrow[{{, }, {-.,.75}}, 0]}]] {{., -.5}, {.5,.}} {{0., -0.5}, {0.5, 0.}}

15 Functions and shapes.nb 5 Some endographs matr := {{, 0}, {.,.5}} matr.{x, y} { x, 0. x y} bigrg := {{-0, 0}, {-5, 0}} latt := Flatten[Table[{i, j}, {i, -5, 5, }, {j, -, 5, }], ] littlelatt := Flatten[Table[{i, j}, {i, -,,.5}, {j, -,,.5}], ] littlelatt {{-., -.}, {-., -.5}, {-., -.}, {-., -0.5}, {-., 0.}, {-., 0.5}, {-.,.}, {-0.5, -.}, {-0.5, -.5}, {-0.5, -.}, {-0.5, -0.5}, {-0.5, 0.}, {-0.5, 0.5}, {-0.5,.}, {0., -.}, {0., -.5}, {0., -.}, {0., -0.5}, {0., 0.}, {0., 0.5}, {0.,.}, {0.5, -.}, {0.5, -.5}, {0.5, -.}, {0.5, -0.5}, {0.5, 0.}, {0.5, 0.5}, {0.5,.}, {., -.}, {., -.5}, {., -.}, {., -0.5}, {., 0.}, {., 0.5}, {.,.}, {.5, -.}, {.5, -.5}, {.5, -.}, {.5, -0.5}, {.5, 0.}, {.5, 0.5}, {.5,.}, {., -.}, {., -.5}, {., -.}, {., -0.5}, {., 0.}, {., 0.5}, {.,.}} Point[#] & /@ {{, }, {, 3}} {Point[{, }], Point[{, 3}]} Point[matr.#] & /@ {{, }, {, 3}} {Point[{.,.}], Point[{.,.3}]} Point[#] & /@ littlelatt;

16 Functions and shapes.nb Show[ Graphics[ Point[#] & latt ], PlotRange bigrg, Axes True] Show[ Graphics[ {Point[#] & /@ latt, Red, Point[matr.#] & /@ latt }], PlotRange bigrg, Axes True] plotboth[matrix_, arr_, rg_] := Show[ Graphics[ {Point[#] & /@ arr, Red, Point[matrix.#] & /@ arr }], PlotRange rg, Axes True]

17 Functions and shapes.nb 7 plotboth[matr, latt, bigrg] plotboth[{{.5,.5}, {.5, }}, latt, bigrg] plotbotharrs[matrix_, arr_, rg_, arrowheadsize_] := Show[ Graphics[ {Arrowheads[arrowheadsize], Point[#] & /@ arr, Red, Point[matrix.#] & /@ arr, Arrow[{#, matrix.#}, 0] & /@ arr }], PlotRange rg, Axes True]

18 Functions and shapes.nb plotbotharrs[{{.5,.5}, {.5, }}, latt, bigrg,.0] plotbotharrs[{{, -}, {.5,.5}}, latt, bigrg,.0] {{.5, -0.97}, {0.97,.5}} {{.5, -0.97}, {0.97,.5}}

19 Functions and shapes.nb 9 plotbotharrs[{{.5, }, {0.97,.5}}, latt, bigrg,.0] {{., -.5}, {.5,.}} {{0., -0.5}, {0.5, 0.}} plotbotharrs[{{., -.5}, {.5,.}}, latt, bigrg,.0] {{-.05,.7}, {-.7, -.05}} {{-0.05,.7}, {-.7, -0.05}}

20 0 Functions and shapes.nb plotbotharrs[{{-.05,.7}, {-.7, -.05}}, latt, bigrg,.0]

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

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

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

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

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

Examples of Fourier series

Examples of Fourier series Examples of Fourier series Preliminaries In[]:= Below is the definition of a periodic extension of a function defined on L, L. This definition takes a function as a variable. The function has to be inputted

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

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

Mathematica Basics. Exponential Functions Exp[expression] Natural Logarithms (ln) Log[expression]

Mathematica 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

4. Mathematica. 4.1 Introduction. 4.2 Starting Mathematica Starting Mathematica from an X-terminal (Maths)

4. Mathematica. 4.1 Introduction. 4.2 Starting Mathematica Starting Mathematica from an X-terminal (Maths) 4. Mathematica 4.1 Introduction Mathematica is a general purpose computer algebra system. That means it can do algebraic manipulations (including calculus and matrix manipulation) and it can also be used

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

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

Constructing Curves and Surfaces through Specified Points

Constructing Curves and Surfaces through Specified Points Constructing Curves and Surfaces through Specified Points Project Template Chapter 10 of Anton/Rorres, Elementary Linear Algebra, 10th edition, consists of 20 sections of Applications, the first of which

More information

This notebook "MathematicaDemo.nb" can be downloaded from the course web page.

This notebook MathematicaDemo.nb can be downloaded from the course web page. Mathematica demo http://www.wolfram.com/ This notebook "MathematicaDemo.nb" can be downloaded from the course web page. Basics Evaluate cells by pressing "shift-enter" / shift-return In[]:= + 3 Out[]=

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

AMS Portfolio Theory and Capital Markets I

AMS Portfolio Theory and Capital Markets I ams-511-ws01-sol.nb 1 AMS 691.02 - Portfolio Theory and Capital Markets I Workshop 01 Solution Robert J Frey, Research Professor Stony Brook University, Applied Mathematics and Statistics frey@ams.sunysb.edu

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

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

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

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

P-Set 1 Solution Set. Solutions created by Melissa Diskin. Part 1 (3 points) Part 2 (4 points) ê H1 ê 2 + xl^hx ê 2L, xdd

P-Set 1 Solution Set. Solutions created by Melissa Diskin. Part 1 (3 points) Part 2 (4 points) ê H1 ê 2 + xl^hx ê 2L, xdd PSet Solution Set Solutions created by Melissa Diskin I (Handworked, 5 points) Simplified version of the derivative with respect to x. In[80]:= Simplify@D@ ê H ê + xl^hx ê L, xdd Out[80]= + x xê x + x

More information

Curves Dr Richard Kenderdine

Curves Dr Richard Kenderdine Curves Dr Richard Kenderdine Kenderdine Maths Tutoring 1 December 01 This note shows some interesting curves not usually encountered. Most of the examples exist as families that can be altered by changing

More information

Ch.5. Loops. (a.k.a. repetition or iteration)

Ch.5. Loops. (a.k.a. repetition or iteration) Ch.5 Loops (a.k.a. repetition or iteration) 5.1 The FOR loop End of for loop End of function 5.1 The FOR loop What is the answer for 100? QUIZ Modify the code to calculate the factorial of N: N! Modify

More information

23.1 Setting up Mathematica Packages

23.1 Setting up Mathematica Packages 23. Procedures and Packages 2015-06-15 $Version 10.0 for Mac OS X x86 (64- bit) (September 10, 2014) 23.1 Setting up Mathematica Packages In a typical Mathematica package there are generally two kinds

More information

Assignment #4 Curvature-based interest operators, more spatial frequency filtering, and illusions

Assignment #4 Curvature-based interest operators, more spatial frequency filtering, and illusions Computational Vision U. Minn. Psy 5036 Assignment #4 Curvature-based interest operators, more spatial frequency filtering, and illusions Goals: 1) use symbolic processing to calculate a Hessian interest

More information

The notebook interface is the usual one and is quite sophisticated. (It was used to create these notes, for instance.)

The notebook interface is the usual one and is quite sophisticated. (It was used to create these notes, for instance.) 4. Mathematica 4. Introduction Mathematica is a general purpose computer algebra system. That means it can do algebraic manipulations (including calculus and matrix manipulation) and it can also be used

More information

Billiard Paths on Arbitrary Tables

Billiard Paths on Arbitrary Tables Billiard Paths on Arbitrary Tables Note: The first time you evaluate a cell in this notebook you will get a popup asking you if you want to evaluate all initialization cells in the notebook - say Yes to

More information

How to prepare interactive Mathematica demonstrations for classroom

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

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

Mathematical Experiments with Mathematica

Mathematical Experiments with Mathematica Mathematical Experiments with Mathematica Instructor: Valentina Kiritchenko Classes: F 12:00-1:20 pm E-mail : vkiritchenko@yahoo.ca, vkiritch@hse.ru Office hours : Th 5:00-6:20 pm, F 3:30-5:00 pm 1. Syllabus

More information

AP * Calculus Review. Area and Volume

AP * Calculus Review. Area and Volume AP * Calculus Review Area and Volume Student Packet Advanced Placement and AP are registered trademark of the College Entrance Examination Board. The College Board was not involved in the production of,

More information

Zajecia 1. Krotkie wprowadzenie do srodowiska Mathematica 4^ D D 1. ?

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

Complex functions, Laurent Series & residues using Mathematica

Complex functions, Laurent Series & residues using Mathematica Complex functions, Laurent Series & residues using Mathematica Complex functions Real and Imaginary parts of functions can be obtained using ComplexExpand, which treats all variables (here x and y) as

More information

Mathematica Notebook for Background: Physics and Math of Shading

Mathematica Notebook for Background: Physics and Math of Shading Mathematica Notebook for Background: Physics and Math of Shading In[1]:= This notebook contains some computations referenced in the course notes. Off NIntegrate::inumr SetOptions Plot, PlotRange All ;

More information

Mathematica Notebook for the SIGGRAPH 2013 talk Background: Physics and Math of Shading

Mathematica Notebook for the SIGGRAPH 2013 talk Background: Physics and Math of Shading Mathematica Notebook for the SIGGRAPH 03 talk Background: Physics and Math of Shading This notebook contains some computations referenced in the course notes. Off@NIntegrate::inumrD SetOptions@Plot, PlotRange

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

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

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

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

ü 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

REAL LIFE REAL WORLD Activity: Archeologist Frieze Patterns

REAL LIFE REAL WORLD Activity: Archeologist Frieze Patterns Teacher Page 1 REAL LIFE REAL WORLD Activity: Archeologist Frieze Patterns Topic: Reflections and Translations Grade Level: 7-12 Objective: Use Cabri Jr. to create examples of frieze patterns Time: 30-60

More information

Examples of Conformal Maps and of Critical Points

Examples of Conformal Maps and of Critical Points Examples of Conformal Maps and of Critical Points We know that an analytic function f(z) is conformal (preserves angles and orientation) at all points where the derivative f (z) is not zero. Here we look

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

Computational methods in Mathematics

Computational methods in Mathematics Computational methods in Mathematics José Carlos Díaz Ramos Cristina Vidal Castiñeira June 13, 2014 1 Graphics Mathematica represents all graphics in terms of a collection of graphics primitives. The primitives

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

Playing with caustic phenomena

Playing with caustic phenomena published in the proceedings of the GIREP/ICPE conference New ways in physics teaching, Ljubljana 21.-27.8.1996, page 440-444 Playing with caustic phenomena Christian Ucke/Christoph Engelhardt Techn. Univ.

More information

sinc interpolation to reconstruct a signal from its samples

sinc interpolation to reconstruct a signal from its samples sinc interpolation to reconstruct a signal from its samples Initialization Code Manipulate ManipulateAprocess@ Fs, fund, ItemA GridA9 9Control@Fs,, Row@Style@"sampling frequency", D, Style@ " HHzL", ItalicD

More information

You can drag the graphs using your mouse to rotate the surface.

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

Simulations of the Angular Dependence of the Dipole-Dipole Interaction

Simulations of the Angular Dependence of the Dipole-Dipole Interaction Ursinus College Digital Commons @ Ursinus College Physics and Astronomy Summer Fellows Student Research 7-24-2015 Simulations of the Angular Dependence of the Dipole-Dipole Interaction Matan Peleg Ursinus

More information

NumPy. Arno Proeme, ARCHER CSE Team Attributed to Jussi Enkovaara & Martti Louhivuori, CSC Helsinki

NumPy. Arno Proeme, ARCHER CSE Team Attributed to Jussi Enkovaara & Martti Louhivuori, CSC Helsinki NumPy Arno Proeme, ARCHER CSE Team aproeme@epcc.ed.ac.uk Attributed to Jussi Enkovaara & Martti Louhivuori, CSC Helsinki Reusing this material This work is licensed under a Creative Commons Attribution-

More information

HydroperoxyCyclophosphamideDoses 0, 0.32`, 0.5`, 0.79`, 1.2`, 2, 3.2`, 5.07`, 8, 12.67`, 20;

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

Solution Notes. COMP 151: Terms Test

Solution Notes. COMP 151: Terms Test Family Name:.............................. Other Names:............................. ID Number:............................... Signature.................................. Solution Notes COMP 151: Terms

More information

Creating T-Spline Forms

Creating T-Spline Forms 1 / 28 Goals 1. Create a T-Spline Primitive Form 2. Create a T-Spline Revolve Form 3. Create a T-Spline Sweep Form 4. Create a T-Spline Loft Form 2 / 28 Instructions Step 1: Go to the Sculpt workspace

More information

Mathematica examples relevant to Bessel functions

Mathematica examples relevant to Bessel functions Mathematica eamples relevant to Bessel functions The original Bessel function---that discussed etensively in Boas Also called Bessel functions of the first kind, or cylindrical Bessel functions It is a

More information

Warm-up for Algebra II

Warm-up for Algebra II Summer Assignment Warm-up for Algebra II Who should complete this packet? Students who will be taking Algebra 2 in the fall of 2018. Due Date: The first day of school How many of the problems should I

More information

Warm-up for Honors Algebra II

Warm-up for Honors Algebra II Summer Assignment Warm-up for Honors Algebra II Who should complete this packet? Students who will be taking Honors Algebra 2 in the fall of 2015. Due Date: The first day of school How many of the problems

More information

Creating a Text Frame. Create a Table and Type Text. Pointer Tool Text Tool Table Tool Word Art Tool

Creating a Text Frame. Create a Table and Type Text. Pointer Tool Text Tool Table Tool Word Art Tool Pointer Tool Text Tool Table Tool Word Art Tool Picture Tool Clipart Tool Creating a Text Frame Select the Text Tool with the Pointer Tool. Position the mouse pointer where you want one corner of the text

More information

1-1 Understanding Points, Lines, and Planes (pp. 6 11) Vocabulary EXERCISES

1-1 Understanding Points, Lines, and Planes (pp. 6 11) Vocabulary EXERCISES Vocabulary acute angle.................. 1 adjacent angles.............. 8 angle....................... 0 angle bisector............... 3 area........................ 36 base........................ 36

More information

Describe Plane Shapes

Describe Plane Shapes Lesson 12.1 Describe Plane Shapes You can use math words to describe plane shapes. point an exact position or location line endpoints line segment ray a straight path that goes in two directions without

More information

Principles of Linear Algebra With Mathematica Linear Programming

Principles 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

To Select a Tool: Persistence of Tools. Tools. New Graphic Tool. Do one of the following: Click a tool icon on the palette.

To Select a Tool: Persistence of Tools. Tools. New Graphic Tool. Do one of the following: Click a tool icon on the palette. Visualization and Graphics 119 To Select a Tool: Do one of the following: Click a tool icon on the palette. With a graphic selected, type one of these letters: o, p, f, l, s, a, g, c, q, m, t Persistence

More information

Plots & Animations. Simple 2d plots x

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

Guided Problem Solving

Guided Problem Solving -1 Guided Problem Solving GPS Student Page 57, Exercises 1 1: Match each rule with the correct translation. A. (x, y) (x, y 1 ) I. P(, 1) P (3, ) B. (x, y) (x 1 3, y) II. Q(3, 0) Q (3, ) C. (x, y) (x 1,

More information

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

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 information

Lines Plane A flat surface that has no thickness and extends forever.

Lines Plane A flat surface that has no thickness and extends forever. Lines Plane A flat surface that has no thickness and extends forever. Point an exact location Line a straight path that has no thickness and extends forever in opposite directions Ray Part of a line that

More information

G7-3 Measuring and Drawing Angles and Triangles

G7-3 Measuring and Drawing Angles and Triangles G7-3 Measuring and Drawing ngles and Triangles right angle acute angles obtuse angles 90 less than 90 more than 90 and less than 180 1. Without using a protractor, identify each angle as acute or obtuse.

More information

How to create shapes. Drawing basic shapes. Adobe Photoshop Elements 8 guide

How to create shapes. Drawing basic shapes. Adobe Photoshop Elements 8 guide How to create shapes With the shape tools in Adobe Photoshop Elements, you can draw perfect geometric shapes, regardless of your artistic ability or illustration experience. The first step to drawing shapes

More information

CT5510: Computer Graphics. Transformation BOCHANG MOON

CT5510: Computer Graphics. Transformation BOCHANG MOON CT5510: Computer Graphics Transformation BOCHANG MOON 2D Translation Transformations such as rotation and scale can be represented using a matrix M.., How about translation? No way to express this using

More information

Contents Systems of Linear Equations and Determinants

Contents Systems of Linear Equations and Determinants Contents 6. Systems of Linear Equations and Determinants 2 Example 6.9................................. 2 Example 6.10................................ 3 6.5 Determinants................................

More information

Unit 4 End-of-Unit Assessment Study Guide

Unit 4 End-of-Unit Assessment Study Guide Circles Unit 4 End-of-Unit Assessment Study Guide Definitions Radius (r) = distance from the center of a circle to the circle s edge Diameter (d) = distance across a circle, from edge to edge, through

More information

Click on the topic to go to the page

Click on the topic to go to the page Click on the topic to go to the page A B C 3D Pythagoras 3D Trigonometry and Pythagoras accuracy calculation with bounds 164 addition of decimals 389 of fractions 269 of money 457 of negative numbers of

More information

Unit #13 : Integration to Find Areas and Volumes, Volumes of Revolution

Unit #13 : Integration to Find Areas and Volumes, Volumes of Revolution Unit #13 : Integration to Find Areas and Volumes, Volumes of Revolution Goals: Beabletoapplyaslicingapproachtoconstructintegralsforareasandvolumes. Be able to visualize surfaces generated by rotating functions

More information

Name Date Period. Worksheet 6.3 Volumes Show all work. No calculator unless stated. Multiple Choice

Name Date Period. Worksheet 6.3 Volumes Show all work. No calculator unless stated. Multiple Choice Name Date Period Worksheet 6. Volumes Show all work. No calculator unless stated. Multiple Choice. (Calculator Permitted) The base of a solid S is the region enclosed by the graph of y ln x, the line x

More information

Lecture 2. Dr John Armstrong

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

Integrated Mathematics I Performance Level Descriptors

Integrated Mathematics I Performance Level Descriptors Limited A student performing at the Limited Level demonstrates a minimal command of Ohio s Learning Standards for Integrated Mathematics I. A student at this level has an emerging ability to demonstrate

More information

Sixth Grade SOL Tracker Name:

Sixth Grade SOL Tracker Name: Sixth Grade SOL Tracker Name: % https://i.ytimg.com/vihttps://i.ytimg.com/vi/rinaa-jx0u8/maxresdefault.jpg/rinaajx0u8/maxresdefault.jpg g x A COLONIAL HEIGHTS PUBLIC SCHOOLS Mathematics Department I Can

More information

Integer Operations. Summer Packet 7 th into 8 th grade 1. Name = = = = = 6.

Integer Operations. Summer Packet 7 th into 8 th grade 1. Name = = = = = 6. Summer Packet 7 th into 8 th grade 1 Integer Operations Name Adding Integers If the signs are the same, add the numbers and keep the sign. 7 + 9 = 16-2 + -6 = -8 If the signs are different, find the difference

More information

GRAPHICS & INTERACTIVE PROGRAMMING. Lecture 1 Introduction to Processing

GRAPHICS & INTERACTIVE PROGRAMMING. Lecture 1 Introduction to Processing BRIDGES TO COMPUTING General Information: This document was created for use in the "Bridges to Computing" project of Brooklyn College. This work is licensed under the Creative Commons Attribution-ShareAlike

More information

Closed shapes with straight sides

Closed shapes with straight sides 41 Unit 6 and 7 Properties of 2D shapes Activity 1 Closed shapes with straight sides (polygons). Let s revise the 2D shapes you learnt about in Grade 5 Closed shapes with straight sides triangle quadrilateral

More information

Mathematica-Speak: Scalars and Vectors and Matrices, oh my! 16 Aug 2016

Mathematica-Speak: Scalars and Vectors and Matrices, oh my! 16 Aug 2016 Mathematica-Speak: Scalars and Vectors and Matrices, oh my! 16 Aug 2016 If this is your first time using Mathematica, see the tutorial at http://www.wolfram.com/broadcast/screencasts/handsonstart/ For

More information

Interlude: Solving systems of Equations

Interlude: Solving systems of Equations Interlude: Solving systems of Equations Solving Ax = b What happens to x under Ax? The singular value decomposition Rotation matrices Singular matrices Condition number Null space Solving Ax = 0 under

More information

Matrix Transformations The position of the corners of this triangle are described by the vectors: 0 1 ] 0 1 ] Transformation:

Matrix Transformations The position of the corners of this triangle are described by the vectors: 0 1 ] 0 1 ] Transformation: Matrix Transformations The position of the corners of this triangle are described by the vectors: [ 2 1 ] & [4 1 ] & [3 3 ] Use each of the matrices below to transform these corners. In each case, draw

More information

Software Manual. Version: H BENCHTOP ROBOT SOFTWARE USER GUIDE Version H

Software Manual. Version: H BENCHTOP ROBOT SOFTWARE USER GUIDE Version H Software Manual Version: H6.1.1.292 BENCHTOP ROBOT SOFTWARE USER GUIDE Version H6.1.1.293 Software Manual Table of Contents SECTION 1: INTRODUCTION... 5 1.1 Introduction...6 1.2 Safety...6 1.3 New Features...6

More information

R(-14, 4) R'(-10, -2) S(-10, 7) S'(-6, 1) T(-5, 4) T'(-1, -2)

R(-14, 4) R'(-10, -2) S(-10, 7) S'(-6, 1) T(-5, 4) T'(-1, -2) 1 Transformations Formative Assessment #1 - Translation Assessment Cluster & Content Standards What content standards can be addressed by this formative assessment? 8.G.3 Describe the effect of dilations

More information

Mathematica Assignment 1

Mathematica Assignment 1 Math 21a: Multivariable Calculus, Fall 2000 Mathematica Assignment 1 Support Welcome to this Mathematica computer assignment! In case of technical problems with this assignment please consult first the

More information

Revision Problems for Examination 2 in Algebra 1

Revision Problems for Examination 2 in Algebra 1 Centre for Mathematical Sciences Mathematics, Faculty of Science Revision Problems for Examination in Algebra. Let l be the line that passes through the point (5, 4, 4) and is at right angles to the plane

More information

POTENTIAL REASONS: Definition of Congruence:

POTENTIAL REASONS: Definition of Congruence: Sec 1.6 CC Geometry Triangle Proofs Name: POTENTIAL REASONS: Definition of Congruence: Having the exact same size and shape and there by having the exact same measures. Definition of Midpoint: The point

More information

Properties of a Circle Diagram Source:

Properties of a Circle Diagram Source: Properties of a Circle Diagram Source: http://www.ricksmath.com/circles.html Definitions: Circumference (c): The perimeter of a circle is called its circumference Diameter (d): Any straight line drawn

More information

Computation of slant specified by cues

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

Calculus WIZ and The Mathematical Explorer advanced use

Calculus WIZ and The Mathematical Explorer advanced use Calculus WIZ and The Mathematical Explorer advanced use Numerical and symbolical capabilities Both Calculus WIZ and The Mathematical Explorer support many symbolic and numeric capabilities of its parent

More information

TImath.com. Geometry. Reflections and Rotations. Time required 45 minutes ID: 8286

TImath.com. Geometry. Reflections and Rotations. Time required 45 minutes ID: 8286 Reflections and Rotations ID: 8286 Time required 45 minutes Activity Overview Students will reflect figures over the x- and y-axes. By studying what happens to the coordinates of the pre-image and image

More information

8.G Reflections, Rotations, and

8.G Reflections, Rotations, and 8.G Reflections, Rotations, and Translations Alignments to Content Standards: 8.G.A.1 Task In this task, using computer software, you will apply reflections, rotations, and translations to a triangle.

More information

Worksheets for GCSE Mathematics. Perimeter & Area. Mr Black's Maths Resources for Teachers GCSE 1-9. Shape

Worksheets for GCSE Mathematics. Perimeter & Area. Mr Black's Maths Resources for Teachers GCSE 1-9. Shape Worksheets for GCSE Mathematics Perimeter & Area Mr Black's Maths Resources for Teachers GCSE 1-9 Shape Perimeter & Area Worksheets Contents Differentiated Independent Learning Worksheets Perimeter of

More information

Properties of Triangles

Properties of Triangles Starter 1) Solve 4sin(x) - 1 = 0 for 0 < x < 360 2) Properties of Triangles Today we are learning... The properties and types of triangles. I will know if I have been successful if... I can identify and

More information

The width is cm 2 marks. 2 a Measure the length of the line in millimetres. b Mark with an arrow ( ) the midpoint of the line.

The width is cm 2 marks. 2 a Measure the length of the line in millimetres. b Mark with an arrow ( ) the midpoint of the line. GM End-of-unit Test Measure the sides of this rectangle. The length is cm The width is cm 2 a Measure the length of the line in millimetres. mm Mark with an arrow ( ) the midpoint of the line. c This is

More information

EXAMINATIONS 2017 TRIMESTER 2

EXAMINATIONS 2017 TRIMESTER 2 EXAMINATIONS 2017 TRIMESTER 2 CGRA 151 INTRODUCTION TO COMPUTER GRAPHICS Time Allowed: TWO HOURS CLOSED BOOK Permitted materials: Silent non-programmable calculators or silent programmable calculators

More information