Quickstart: Mathematica for Calculus I (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy September 2, 2013

Size: px
Start display at page:

Download "Quickstart: Mathematica for Calculus I (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy September 2, 2013"

Transcription

1 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 numerically, and finding roots. Lists and plotting with the Table command 5. Implicit plotting with ContourPlot 6. Defining and evaluating functions 7. Derivatives 8. Combining graphs with the Show command. 9. Symbols and Greek letters 0. The Simplify command. Limits. Integrals. Getting started Open a new Mathematica notebook by selecting File - New - Notebook. You will see a small white tab with a + sign at the top left. Click below and type a command, e.g., the first plot below, then press shiftenter to execute the command. You will see In[]:= appear before your first line of input and Out[]:= before your first output. Click below your output to enter another command. To enter some text, select Format - Style - Text or Alt - 7. To enter Mathematica commands again, click below the text and select Format - Style - Input or Alt-9. To delete a cell or cells, click on the vertical cell markers on the right of the screen and press delete.. Basic plotting.. Plot the graph of sin (x) from x = 0 to x = p. Notice that Plot, Sin, and Pi must all be capitalized. Pay attention to the types of brackets used: [ ] vs { }.

2 In[]:= 8x, 0, * Pi<D Out[]= Plot the graphs of the exponential function, the natural logarithm function, and the equation y=x on the same axes from x = - to x=. Note: In Mathematica, the natural logarithm function is Log. We use { } brackets for the list of expressions to be graphed. In[]:= Plot@8Exp@xD, Log@xD, x<, 8x, -, <D 6 Out[]= Plot Exp[x], Log[x], and x from x=- to x= with the plot range of y restricted to [-,]. Note: The arrow is obtained by typing - and >.

3 In[]:= x<, 8x, -, <, PlotRange 8-, <D Out[]= Plot the tangent and inverse tangent (arctangent) functions from -p/ to p/ with the first plot in red and the second in blue. In[]:= Plot@8Tan@xD, ArcTan@xD<, 8x, - Pi, Pi <, PlotStyle 8Red, Blue<D Out[]= Plot the top and bottom halves of the circle x ^ + y =, adjusting the Aspect Ratio to show the same scales on both axes.

4 In[5]:= - x ^ D, Sqrt@ - x ^ D<, 8x, -, <, AspectRatio AutomaticD Out[5]= - -. Solving equations, approximating numerically, and finding roots.. Solve the equation x - = 0 for x. Note the double == signs in the Mathematica command. We see that two of the solutions are imaginary. In[6]:= Out[6]= Solve@x ^ - Š 0, xd ::x - >, :x - ä >, :x ä >, :x >>.. Select the th solution from the list of solutions. In[7]:= Out[7]= Solve@x ^ - Š 0, xd@@dd :x >.. Find the real solutions of the equation x -=0. In[8]:= Out[8]= Solve@x ^ - Š 0, x, RealsD ::x - >, :x >>.. Numerically approximate the real solutions of the equation x -=0. In[9]:= Out[9]= NSolve@x ^ - Š 0, x, RealsD 88x -.<, 8x.<<.5. Find a solution of the equation x -=0 in the interval 0<x<.

5 In[0]:= Out[0]= ^ - Š 0 && 0 < x <, xd ::x >>.6. Numerically approximate a root of x -=0 near x=.5. In[]:= Out[]= FindRoot@x ^ -, 8x,.5<D 8x.<.7. Numerically approximate the value of In[]:= Out[]=. N@Sqrt@DD.. Lists with the Table command.. Use Table to make a list of the values of x for integers x from to 5. Note that the output has { } brackets around it, indicating that it has the structure of a list. In[]:= Out[]= Table@x ^, 8x,, 5<D 8,, 9, 6, 5<.. Use Table to make a list of values of x for x in {,,5,7,,,7} and name it PrimeSquares. Note the { } brackets around the list of x values. In[]:= Out[]= PrimeSquares = Table@x ^, 8x, 8,, 5, 7,,, 7<<D 8, 9, 5, 9,, 69, 89<.. Select the 5th element of the list PrimeSquares. In[5]:= Out[5]= PrimeSquares@@5DD.. Construct a list of expressions c*x, for c in the list {-,-,-,,,}, and give it the name LineList. In[6]:= Out[6]= LineList = Table@c * x, 8c, 8-, -, -,,, <<D 8- x, - x, - x, x, x, x<.5. Use Table to plot the lines in the list LineList. 5

6 6 In[7]:= 8x, -, <D Out[7]= Use Table to plot the lines in LineList with the colors orange, yellow, green,cyan,purple,black, and brown. In[8]:= Plot@LineList, 8x, -, <, PlotStyle 8Orange, Yellow, Green, Cyan, Purple, Black, Brown<D Out[8]= Implicit plotting with ContourPlot 5.. Plot the circle x + y = using ContourPlot. Note the double == signs in the command. We must specify the intervals for both x and y.

7 In[9]:= ^ + y ^ Š, 8x, -, <, 8y, -, <D Out[9]= Plot the same circle but with axes and no frame. In[0]:= ContourPlot@x ^ + y ^ Š, 8x, -, <, 8y, -, <, Axes True, Frame FalseD Out[0]= Plot the family of circles x + y = c for c in the list {,,}, x in the interval [-,], and y in the interval [-,], using red, blue, and green. Because of the order in which Mathematica executes commands, we need to tell the program to evaluate the list of equations before plotting with ContourPlot. 7

8 8 In[]:= Out[]= In[]:= CircleEquations = Table@x ^ + y ^ == c ^, 8c, 8,, <<D 9x + y Š, x + y Š, x + y Š 6= ContourPlot@Evaluate@CircleEquationsD, 8x, - 5, 5<, 8y, - 5, 5<, ContourStyle 8Red, Blue, Green<D Out[]= Defining and evaluating functions In[]:= 6.. Define f HxL = x. f@x_d := x ^ 6.. Evaluate f at x=5 in two different ways. The arrow is obtained by typing - and >. In[]:= Out[]= In[5]:= Out[5]= In[6]:= f@5d 5 f@xd. x Define g Hx, yl = x + y. g@x_, y_d := x ^ + y ^ 6.. Evaluate g at x=, y= in two different ways. In[7]:= Out[7]= In[8]:= Out[8]= g@, D 5 g@x, yd. 8x, y < 5

9 7. Derivatives In[9]:= Out[9]= In[0]:= Out[0]= 7.. Find the derivative of the function f HxL = x defined above. Two methods are shown. D@f@xD, xd x f '@xd x 7.. Evaluate f (5) in two different ways. In[]:= Out[]= In[]:= Out[]= f '@5D 75 D@f@xD, xd. x Find the second derivative of f. Two methods are shown. In[]:= Out[]= In[]:= Out[]= f ''@xd 6x D@f@xD, 8x, <D 6x 7.. Find the derivative of x +y with respect to x when y is a function of x. Note that we must specify that y is a function of x by writing y[x]. In[5]:= Out[5]= D@x ^ + y@xd ^, xd x + y@xd 7.5. Given x +y -5=0, solve for y [x] by implicit differentiation. Give the result the name Slope. In[6]:= Out[6]= Slope = Solve@D@x ^ + y@xd ^ - 5, xd == 0, y '@xdd x >> y@xd 7.6. Find the value of y [x] at x=, y=. Note that we need to type y[x], not just y. In[7]:= Out[7]= Slope. 8x, y@xd < - >> 8. Combining graphs with the Show command 8.. Plot the circlex +y -5=0 and its tangent line at (,) on the same axes. Note that we use ; at the end of a command when we do not need to see the result. In[8]:= CircleGraph = ContourPlot@x ^ + y ^ - 5 Š 0, 8x, - 6, 6<, 8y, - 6, 6<, Axes True, Frame FalseD; 9

10 0 In[9]:= In[0]:= TangentGraph = Plot@- H L * Hx - L +, 8x, - 6, 6<, PlotRange 8-6, 6<, AspectRatio AutomaticD; Show@CircleGraph, TangentGraphD 6 Out[0]= Symbols and Greek letters 9.. The symbol is obtained from esc inf esc. 9.. The symbol ¹ is obtained from esc! = esc. 9.. The symbol is obtained from esc < = esc ( and similarly for ³). 9.. The Greek letter q is obtained from esc theta esc. Other Greek letters are obtained in a similar manner The arrow is obtained by typing - and > or esc -> esc. 0. The Simplify command In[]:= Out[]= 0.. Simplify the expression cos HqL + sin (q). Simplify@Cos@qD ^ + Sin@qD ^ D. Limits.. Find the limit of Exp[-x] as x. In[]:= Out[]= Limit@Exp@- xd, x InfinityD 0.. Find the limit of Log[x] (natural logarithm) as x 0+.

11 In[]:= Out[]= x 0, Direction - D -.. Find the limit of /x as x 0-. In[]:= Out[]= Limit@ x, x 0, Direction D -.. Find the limit of Exp[-c*x] as x, with the assumption that c>0. In[5]:= Out[5]= Limit@Exp@- c * xd, x Infinity, Assumptions 8c > 0<D 0.5. Find the limit of ExpA-c *x] as x, with the assumption that c is a real number and c¹0. Note: Type!= or esc!= esc for ¹. In[6]:= Out[6]= Limit@Exp@- c ^ * xd, x Infinity, Assumptions Element@c, RealsD && c ¹ 0D 0. Integrals.. Find the indefinite integral of x. Mathematica does not supply the +C. In[7]:= Integrate@x ^, xd x Out[7]=.. Find the definite integral of x from 0 to. In[8]:= Integrate@x ^, 8x, 0, <D Out[8]=.. Numerically approximate the integral of x from 0 to. In[9]:= Out[9]= NIntegrate@x ^, 8x, 0, <D 0.

Basic Exercises about Mathematica

Basic Exercises about Mathematica Basic Exercises about Mathematica 1. Calculate with four decimal places. NB F. 2.23607 2.23607 Ë We can evaluate a cell by placing the cursor on it and pressing Shift+Enter (or Enter on the numeric key

More information

Algebra. Mathematica QuickStart for Calculus 101C. Solving Equations. Factoring. Exact Solutions to single equation:

Algebra. Mathematica QuickStart for Calculus 101C. Solving Equations. Factoring. Exact Solutions to single equation: Mathematica QuickStart for Calculus 101C Algebra Solving Equations Exact Solutions to single equation: In[88]:= Solve@x^3 + 5 x - 6 ã 0, xd Out[88]= :8x Ø 1, :x Ø 1 2 I-1 + Â 23

More information

Using Mathematica to solve ODEs (part 1)

Using Mathematica to solve ODEs (part 1) Using Mathematica to solve ODEs (part ) Basic tool is DSolve Note that in DSolve the dependent variable (usually y below) must be written y[x] or y [x] (for the derivative) or y [x] (for the second derivative)

More 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

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

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

PART 1 PROGRAMMING WITH MATHLAB

PART 1 PROGRAMMING WITH MATHLAB PART 1 PROGRAMMING WITH MATHLAB Presenter: Dr. Zalilah Sharer 2018 School of Chemical and Energy Engineering Universiti Teknologi Malaysia 23 September 2018 Programming with MATHLAB MATLAB Environment

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

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

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

Graphing Calculator Tutorial

Graphing Calculator Tutorial Graphing Calculator Tutorial This tutorial is designed as an interactive activity. The best way to learn the calculator functions will be to work the examples on your own calculator as you read the tutorial.

More information

Calculus II - Math 1220 Mathematica Commands: From Basics To Calculus II - Version 11 c

Calculus II - Math 1220 Mathematica Commands: From Basics To Calculus II - Version 11 c Calculus II - Math 1220 Mathematica Commands: From Basics To Calculus II - Version 11 c Edit your document (remove extras and errors, ensure the rest works correctly) and turn-in your print-out. If needed,

More information

Models for Nurses: Quadratic Model ( ) Linear Model Dx ( ) x Models for Doctors:

Models for Nurses: Quadratic Model ( ) Linear Model Dx ( ) x Models for Doctors: The goal of this technology assignment is to graph several formulas in Excel. This assignment assumes that you using Excel 2007. The formula you will graph is a rational function formed from two polynomials,

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

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

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

AP Calculus AB Unit 2 Assessment

AP Calculus AB Unit 2 Assessment Class: Date: 203-204 AP Calculus AB Unit 2 Assessment Multiple Choice Identify the choice that best completes the statement or answers the question. A calculator may NOT be used on this part of the exam.

More information

ü 1.1 Getting Started

ü 1.1 Getting Started Chapter 1 Introduction Welcome to Mathematica! This tutorial manual is intended as a supplement to Rogawski's Calculus textbook and aimed at students looking to quickly learn Mathematica through examples.

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

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

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

Objectives. Materials

Objectives. Materials Activity 13 Objectives Understand what a slope field represents in terms of Create a slope field for a given differential equation Materials TI-84 Plus / TI-83 Plus Graph paper Introduction One of the

More information

Dynamical Systems - Math 3280 Mathematica: From Algebra to Dynamical Systems c

Dynamical Systems - Math 3280 Mathematica: From Algebra to Dynamical Systems c Dynamical Systems - Math 3280 Mathematica: From Algebra to Dynamical Systems c Edit your document (remove extras and errors, ensure the rest works correctly). If needed, add comments. It is not necessary

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

Mathematica for Dirac delta functions and Green functions

Mathematica for Dirac delta functions and Green functions Mathematica for Dirac delta functions and Green functions DiracDelta function Mathematic has Dirac s delta function built in for use in integrals and solving differential equations. If you evaluate it

More information

Ph3 Mathematica Homework: Week 6

Ph3 Mathematica Homework: Week 6 Ph3 Mathematica Homework: Week 6 Eric D. Black California Institute of Technology v1.1 Now that we ve covered techniques specific to data analysis, we will branch out into some more general topics. This

More information

LAB 1 General MATLAB Information 1

LAB 1 General MATLAB Information 1 LAB 1 General MATLAB Information 1 General: To enter a matrix: > type the entries between square brackets, [...] > enter it by rows with elements separated by a space or comma > rows are terminated by

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

Introduction to Engineering gii

Introduction to Engineering gii 25.108 Introduction to Engineering gii Dr. Jay Weitzen Lecture Notes I: Introduction to Matlab from Gilat Book MATLAB - Lecture # 1 Starting with MATLAB / Chapter 1 Topics Covered: 1. Introduction. 2.

More information

Excel Tool: Calculations with Data Sets

Excel Tool: Calculations with Data Sets Excel Tool: Calculations with Data Sets The best thing about Excel for the scientist is that it makes it very easy to work with data sets. In this assignment, we learn how to do basic calculations that

More information

AP Calculus AB. Table of Contents. Slide 1 / 180. Slide 2 / 180. Slide 3 / 180. Review Unit

AP Calculus AB. Table of Contents. Slide 1 / 180. Slide 2 / 180. Slide 3 / 180. Review Unit Slide 1 / 180 Slide 2 / 180 P alculus Review Unit 2015-10-20 www.njctl.org Table of ontents lick on the topic to go to that section Slide 3 / 180 Slopes Equations of Lines Functions Graphing Functions

More information

MEI GeoGebra Tasks for AS Pure

MEI GeoGebra Tasks for AS Pure Task 1: Coordinate Geometry Intersection of a line and a curve 1. Add a quadratic curve, e.g. y = x 2 4x + 1 2. Add a line, e.g. y = x 3 3. Use the Intersect tool to find the points of intersection of

More information

A Mathematica Tutorial - 1. Basic Operations

A Mathematica Tutorial - 1. Basic Operations A Mathematica Tutorial -. Basic Operations This Tutorial was created usig Mathematica 6.0. Some of the cells described below can only be performed in version 6.0. Note that Mathematica can be used as a

More information

Basic Operations and Equivalent Expressions - Step-by-Step Lesson

Basic Operations and Equivalent Expressions - Step-by-Step Lesson Name Date Basic Operations and Equivalent Expressions StepbyStep Lesson Lesson 1 Simplify the expressions. 1. 4 (6x 5) 2. 3 (4 3 7x) Explanation: 1. Step 1) First see what is being asked. We have to simplify

More information

MATLAB Lesson I. Chiara Lelli. October 2, Politecnico di Milano

MATLAB Lesson I. Chiara Lelli. October 2, Politecnico di Milano MATLAB Lesson I Chiara Lelli Politecnico di Milano October 2, 2012 MATLAB MATLAB (MATrix LABoratory) is an interactive software system for: scientific computing statistical analysis vector and matrix computations

More information

Math 21a Homework 22 Solutions Spring, 2014

Math 21a Homework 22 Solutions Spring, 2014 Math 1a Homework Solutions Spring, 014 1. Based on Stewart 11.8 #6 ) Consider the function fx, y) = e xy, and the constraint x 3 + y 3 = 16. a) Use Lagrange multipliers to find the coordinates x, y) of

More information

Experiment 1: Introduction to MATLAB I. Introduction. 1.1 Objectives and Expectations: 1.2 What is MATLAB?

Experiment 1: Introduction to MATLAB I. Introduction. 1.1 Objectives and Expectations: 1.2 What is MATLAB? Experiment 1: Introduction to MATLAB I Introduction MATLAB, which stands for Matrix Laboratory, is a very powerful program for performing numerical and symbolic calculations, and is widely used in science

More information

MEI STRUCTURED MATHEMATICS METHODS FOR ADVANCED MATHEMATICS, C3. Practice Paper C3-B

MEI STRUCTURED MATHEMATICS METHODS FOR ADVANCED MATHEMATICS, C3. Practice Paper C3-B MEI Mathematics in Education and Industry MEI STRUCTURED MATHEMATICS METHODS FOR ADVANCED MATHEMATICS, C3 Practice Paper C3-B Additional materials: Answer booklet/paper Graph paper List of formulae (MF)

More information

September 18, B Math Test Chapter 1 Name: x can be expressed as: {y y 0, y R}.

September 18, B Math Test Chapter 1 Name: x can be expressed as: {y y 0, y R}. September 8, 208 62B Math Test Chapter Name: Part : Objective Questions [ mark each, total 2 marks]. State whether each of the following statements is TRUE or FALSE a) The mapping rule (x, y) (-x, y) represents

More information

Casio fx-cg20. Calculator Instructions A B C D E F G. Contents:

Casio fx-cg20. Calculator Instructions A B C D E F G. Contents: Calculator Instructions Casio fx-cg0 Contents: A B C D E F G Basic functions Memory Lists Solving simultaneous equations Statistics Probability Working with functions CASIO FX-CG0 A BASIC FUNCTIONS GROUPING

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

Overview: The original Mathematica was a computer algebra system (CAS) released by Stephen Wolfram in 1988.

Overview: The original Mathematica was a computer algebra system (CAS) released by Stephen Wolfram in 1988. Mathematica 7.0.1 Overview: The original Mathematica was a computer algebra system (CAS) released by Stephen Wolfram in 1988. Modern releases have augmented the CAS with powerful numerical and graphical

More information

Math-2. Lesson 3-1. Equations of Lines

Math-2. Lesson 3-1. Equations of Lines Math-2 Lesson 3-1 Equations of Lines How can an equation make a line? y = x + 1 x -4-3 -2-1 0 1 2 3 Fill in the rest of the table rule x + 1 f(x) -4 + 1-3 -3 + 1-2 -2 + 1-1 -1 + 1 0 0 + 1 1 1 + 1 2 2 +

More information

What is MATLAB? What is MATLAB? Programming Environment MATLAB PROGRAMMING. Stands for MATrix LABoratory. A programming environment

What is MATLAB? What is MATLAB? Programming Environment MATLAB PROGRAMMING. Stands for MATrix LABoratory. A programming environment What is MATLAB? MATLAB PROGRAMMING Stands for MATrix LABoratory A software built around vectors and matrices A great tool for numerical computation of mathematical problems, such as Calculus Has powerful

More information

Math 115 Second Midterm March 25, 2010

Math 115 Second Midterm March 25, 2010 Math 115 Second Midterm March 25, 2010 Name: Instructor: Section: 1. Do not open this exam until you are told to do so. 2. This exam has 9 pages including this cover. There are 8 problems. Note that the

More information

GRAPH 4.4. Megha K. Raman APRIL 22, 2015

GRAPH 4.4. Megha K. Raman APRIL 22, 2015 GRAPH 4.4 By Megha K. Raman APRIL 22, 2015 1. Preface... 4 2. Introduction:... 4 3. Plotting a function... 5 Sample funtions:... 9 List of Functions:... 10 Constants:... 10 Operators:... 11 Functions:...

More information

AP Calculus AB. Table of Contents. Slide 1 / 180. Slide 2 / 180. Slide 3 / 180. Review Unit

AP Calculus AB. Table of Contents. Slide 1 / 180. Slide 2 / 180. Slide 3 / 180. Review Unit Slide 1 / 180 Slide 2 / 180 P alculus Review Unit 2015-10-20 www.njctl.org Table of ontents lick on the topic to go to that section Slide 3 / 180 Slopes Equations of Lines Functions Graphing Functions

More information

Green Globs And Graphing Equations

Green Globs And Graphing Equations Green Globs And Graphing Equations Green Globs and Graphing Equations has four parts to it which serve as a tool, a review or testing device, and two games. The menu choices are: Equation Plotter which

More information

Approximate First and Second Derivatives

Approximate First and Second Derivatives MTH229 Project 6 Exercises Approximate First and Second Derivatives NAME: SECTION: INSTRUCTOR: Exercise 1: Let f(x) = sin(x 2 ). We wish to find the derivative of f when x = π/4. a. Make a function m-file

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

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

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

Introduction to Matlab

Introduction to Matlab Introduction to Matlab Kristian Sandberg Department of Applied Mathematics University of Colorado Goal The goal with this worksheet is to give a brief introduction to the mathematical software Matlab.

More information

Getting Started. Chapter 1. How to Get Matlab. 1.1 Before We Begin Matlab to Accompany Lay s Linear Algebra Text

Getting Started. Chapter 1. How to Get Matlab. 1.1 Before We Begin Matlab to Accompany Lay s Linear Algebra Text Chapter 1 Getting Started How to Get Matlab Matlab physically resides on each of the computers in the Olin Hall labs. See your instructor if you need an account on these machines. If you are going to go

More information

Integrating Equations of Motion in Mathematica

Integrating Equations of Motion in Mathematica MmaGuide-GLG.nb Integrating Equations of Motion in Mathematica Gary L. Gray Assistant Professor Engineering Science and Mechanics The Pennsylvania State University 227 Hammond Building University Park,

More information

A model for an intramuscular injection of a medication.

A model for an intramuscular injection of a medication. injection_model.nb 1 A model for an intramuscular injection of a medication. Needs@"Graphics`Colors`"D; Intravenous injection of a medication: Injected drug in blood decays exponentially due to metabolic

More information

AP Calculus. Slide 1 / 213 Slide 2 / 213. Slide 3 / 213. Slide 4 / 213. Slide 4 (Answer) / 213 Slide 5 / 213. Derivatives. Derivatives Exploration

AP Calculus. Slide 1 / 213 Slide 2 / 213. Slide 3 / 213. Slide 4 / 213. Slide 4 (Answer) / 213 Slide 5 / 213. Derivatives. Derivatives Exploration Slide 1 / 213 Slide 2 / 213 AP Calculus Derivatives 2015-11-03 www.njctl.org Slide 3 / 213 Table of Contents Slide 4 / 213 Rate of Change Slope of a Curve (Instantaneous ROC) Derivative Rules: Power, Constant,

More information

ipad App User Guide Getting Started with Desmos Tables Variables and Sliders Settings, Zoom, and Language Graphable Expressions Supported Functions

ipad App User Guide Getting Started with Desmos Tables Variables and Sliders Settings, Zoom, and Language Graphable Expressions Supported Functions ipad App User Guide Learn more about graphing functions, plotting tables of data, evaluating equations, exploring transformations, and more! If you have questions that aren t answered in here, send us

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

PROGRAMMING WITH MATLAB DR. AHMET AKBULUT

PROGRAMMING WITH MATLAB DR. AHMET AKBULUT PROGRAMMING WITH MATLAB DR. AHMET AKBULUT OVERVIEW WEEK 1 What is MATLAB? A powerful software tool: Scientific and engineering computations Signal processing Data analysis and visualization Physical system

More information

Introduction to Classic Maple by David Maslanka

Introduction to Classic Maple by David Maslanka Introduction to Classic Maple by David Maslanka Maple is a computer algebra system designed to do mathematics. Symbolic, numerical and graphical computations can all be done with Maple. Maple's treatment

More information

Defining and Plotting a Parametric Curve in 3D a(t)=(x(t),y(t),z(t)) H* clears all previous assingments so we can reuse them *L

Defining and Plotting a Parametric Curve in 3D a(t)=(x(t),y(t),z(t)) H* clears all previous assingments so we can reuse them *L Defining and Plotting a Parametric Curve in 3D a(t)=(x(t),y(t),z(t)) Clear@"Global`*"D H* clears all previous assingments so we can reuse them *L H* Define vector functions in 3D of one variable t, i.e.

More information

Calculus III. 1 Getting started - the basics

Calculus III. 1 Getting started - the basics Calculus III Spring 2011 Introduction to Maple The purpose of this document is to help you become familiar with some of the tools the Maple software package offers for visualizing curves and surfaces in

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

Math 1191 Mathematica Introduction

Math 1191 Mathematica Introduction Math 1191 Mathematica Introduction Lab 2 Fall, 2005 REMEMBER: Functions use square brackets [] for their arguments, not parentheses. Sin[3], Log[10], myfunction[42], N[Pi,8] Example: Mathematica s built-in

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

Functions and Graphs. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996.

Functions and Graphs. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996. Functions and Graphs The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996. Launch Mathematica. Type

More information

Section 1.1 The Distance and Midpoint Formulas

Section 1.1 The Distance and Midpoint Formulas Section 1.1 The Distance and Midpoint Formulas 1 y axis origin x axis 2 Plot the points: ( 3, 5), (0,7), ( 6,0), (6,4) 3 Distance Formula y x 4 Finding the Distance Between Two Points Find the distance

More information

Quickstart for Desktop Version

Quickstart for Desktop Version Quickstart for Desktop Version What is GeoGebra? Dynamic Mathematics Software in one easy-to-use package For learning and teaching at all levels of education Joins interactive 2D and 3D geometry, algebra,

More information

The following information is for reviewing the material since Exam 3:

The following information is for reviewing the material since Exam 3: Outcomes List for Math 121 Calculus I Fall 2010-2011 General Information: The purpose of this Outcomes List is to give you a concrete summary of the material you should know, and the skills you should

More information

Matlab Notes for Mathematical Modeling. Lia Vas

Matlab Notes for Mathematical Modeling. Lia Vas Matlab Notes for Mathematical Modeling Lia Vas Content 1. Review of Matlab in Calculus 1 1.1 Basic arithmetic 1.2 Solving equations using solve 1.3 Representing functions 1.4 Graphics 1.5 Solving equations

More information

Casio fx-cg20. Calculator Instructions A B C D E F G. Contents:

Casio fx-cg20. Calculator Instructions A B C D E F G. Contents: Calculator Instructions Casio fx-cg20 Contents: A B C D E F G Basic functions Memory Lists Statistics Linear modelling Probability Working with functions 2 CASIO FX-CG20 A BASIC FUNCTIONS GROUPING SYMBOLS

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

MEI Desmos Tasks for AS Pure

MEI Desmos Tasks for AS Pure Task 1: Coordinate Geometry Intersection of a line and a curve 1. Add a quadratic curve, e.g. y = x² 4x + 1 2. Add a line, e.g. y = x 3 3. Select the points of intersection of the line and the curve. What

More information

MATH 19520/51 Class 6

MATH 19520/51 Class 6 MATH 19520/51 Class 6 Minh-Tam Trinh University of Chicago 2017-10-06 1 Review partial derivatives. 2 Review equations of planes. 3 Review tangent lines in single-variable calculus. 4 Tangent planes to

More information

An Introduction to Maple and Maplets for Calculus

An Introduction to Maple and Maplets for Calculus An Introduction to Maple and Maplets for Calculus Douglas B. Meade Department of Mathematics University of South Carolina Columbia, SC 29208 USA URL: www.math.sc.edu/~meade e-mail: meade@math.sc.edu Philip

More information

Excel Spreadsheets and Graphs

Excel Spreadsheets and Graphs Excel Spreadsheets and Graphs Spreadsheets are useful for making tables and graphs and for doing repeated calculations on a set of data. A blank spreadsheet consists of a number of cells (just blank spaces

More information

1 The Inverse Problem

1 The Inverse Problem The Inverse Problem We have learned that a general solution of a first-order differential equation y = f H, yl (..) is a one-parameter family of (either eplicit or implicit) solutions. Finding a general

More information

Lecture 1: What is MATLAB?

Lecture 1: What is MATLAB? Lecture 1: What is MATLAB? Dr. Mohammed Hawa Electrical Engineering Department University of Jordan EE201: Computer Applications. See Textbook Chapter 1. MATLAB MATLAB (MATrix LABoratory) is a numerical

More information

A General Introduction to Matlab

A General Introduction to Matlab Master Degree Course in ELECTRONICS ENGINEERING http://www.dii.unimore.it/~lbiagiotti/systemscontroltheory.html A General Introduction to Matlab e-mail: luigi.biagiotti@unimore.it http://www.dii.unimore.it/~lbiagiotti

More information

STEPHEN WOLFRAM MATHEMATICADO. Fourth Edition WOLFRAM MEDIA CAMBRIDGE UNIVERSITY PRESS

STEPHEN WOLFRAM MATHEMATICADO. Fourth Edition WOLFRAM MEDIA CAMBRIDGE UNIVERSITY PRESS STEPHEN WOLFRAM MATHEMATICADO OO Fourth Edition WOLFRAM MEDIA CAMBRIDGE UNIVERSITY PRESS Table of Contents XXI a section new for Version 3 a section new for Version 4 a section substantially modified 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

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier Calculus I Review Handout 1.3 Introduction to Calculus - Limits by Kevin M. Chevalier We are now going to dive into Calculus I as we take a look at the it process. While precalculus covered more static

More information

Computer Programming in MATLAB

Computer Programming in MATLAB Computer Programming in MATLAB Prof. Dr. İrfan KAYMAZ Atatürk University Engineering Faculty Department of Mechanical Engineering What is a computer??? Computer is a device that computes, especially a

More information

Objectives. Materials

Objectives. Materials S Activity 4 Objectives Materials Understand what a slope field represents in terms of dy Create a slope field for a given differential equation T-84 Plus / T-83 Plus Graph paper ntroduction ntroduction

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

1 Introduction to Matlab

1 Introduction to Matlab 1 Introduction to Matlab 1. What is Matlab? Matlab is a computer program designed to do mathematics. You might think of it as a super-calculator. That is, once Matlab has been started, you can enter computations,

More information

Basic stuff -- assignments, arithmetic and functions

Basic stuff -- assignments, arithmetic and functions Basic stuff -- assignments, arithmetic and functions Most of the time, you will be using Maple as a kind of super-calculator. It is possible to write programs in Maple -- we will do this very occasionally,

More information

Quickstart for Web and Tablet App

Quickstart for Web and Tablet App Quickstart for Web and Tablet App What is GeoGebra? Dynamic Mathematic Software in one easy-to-use package For learning and teaching at all levels of education Joins interactive 2D and 3D geometry, algebra,

More information

Arithmetic expressions can be typed into Maple using the regular operators:

Arithmetic expressions can be typed into Maple using the regular operators: Basic arithmetic Arithmetic expressions can be typed into Maple using the regular operators: (type "3 + 4" and then press "[Enter]" to start the evaluation of the expression) 7 (1.1) 5 (1.2) 21 (1.3) (type

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

Lab1: Use of Word and Excel

Lab1: Use of Word and Excel Dr. Fritz Wilhelm; physics 230 Lab1: Use of Word and Excel Page 1 of 9 Lab partners: Download this page onto your computer. Also download the template file which you can use whenever you start your lab

More information

Introduction to Matlab to Accompany Linear Algebra. Douglas Hundley Department of Mathematics and Statistics Whitman College

Introduction to Matlab to Accompany Linear Algebra. Douglas Hundley Department of Mathematics and Statistics Whitman College Introduction to Matlab to Accompany Linear Algebra Douglas Hundley Department of Mathematics and Statistics Whitman College August 27, 2018 2 Contents 1 Getting Started 5 1.1 Before We Begin........................................

More information

Python Lists: Example 1: >>> items=["apple", "orange",100,25.5] >>> items[0] 'apple' >>> 3*items[:2]

Python Lists: Example 1: >>> items=[apple, orange,100,25.5] >>> items[0] 'apple' >>> 3*items[:2] Python Lists: Lists are Python's compound data types. A list contains items separated by commas and enclosed within square brackets ([]). All the items belonging to a list can be of different data type.

More information

Euler s Method for Approximating Solution Curves

Euler s Method for Approximating Solution Curves Euler s Method for Approximating Solution Curves As you may have begun to suspect at this point, time constraints will allow us to learn only a few of the many known methods for solving differential equations.

More information

Beginner s Mathematica Tutorial

Beginner s Mathematica Tutorial Christopher Lum Autonomous Flight Systems Laboratory Updated: 12/09/05 Introduction Beginner s Mathematica Tutorial This document is designed to act as a tutorial for an individual who has had no prior

More information

Dr Richard Greenaway

Dr Richard Greenaway SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 2 Basic MATLAB Operation Dr Richard Greenaway 2 Basic MATLAB Operation 2.1 Overview 2.1.1 The Command Line In this Workshop you will learn how

More information

Section Polar Coordinates. or 4 π (restricting θ to the domain of the lemniscate). So, there are horizontal tangents at ( 4 3

Section Polar Coordinates. or 4 π (restricting θ to the domain of the lemniscate). So, there are horizontal tangents at ( 4 3 Section 10.3 Polar Coordinates 66. r = e θ x = r cos θ = e θ cos θ, y = r sin θ = e θ sin θ. = eθ sin θ+e θ cos θ = e θ (sin θ+cos θ), dx = eθ cos θ e θ sin θ = e θ (cos θ sin θ). Let 1 = 0 sin θ = cos

More information

John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad is not the specialist's ultimate mathematical simulator

John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad is not the specialist's ultimate mathematical simulator John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad isn't: Mathcad is not the specialist's ultimate mathematical simulator Applied mathematicians may prefer the power of Mathematica Complex programs

More information

Introduction to MATLAB

Introduction to MATLAB Introduction to MATLAB Anthony J. O Connor School of Science, Griffith University, Brisbane, Australia 1. What is MATLAB? MATLAB started as an interactive program for doing matrix calculations and has

More information