Review of Matlab for Differential Equations. Lia Vas
|
|
|
- Dustin Cooper
- 10 years ago
- Views:
Transcription
1 Review of Matlab for Differential Equations Lia Vas 1. Basic arithmetic (Practice problems 1) 2. Solving equations with solve (Practice problems 2) 3. Representing functions 4. Graphics 5. Parametric Plots (Practice problems 3) 6. Solving equations with fzero 7. Differentiation (Practice problems 4) 8. Integration (Practice problems 5) 9. Limits (Practice problems 6) 1. Basic Arithmetic You can use +, -, *, \ and ^ to add, subtract, multiply, divide or exponentiate, respectively. For example if you enter: >> 2^3-2*2 Matlab gives you the answer: ans = 4 If you want to perform further calculations with the answer, you can type ans rather than retyping the whole answer. For example, >> sqrt(ans) ans = 2 To perform symbolic calculations in Matlab, use syms to declare the variables you plan to use. For example, suppose that you need factor x²-3x+2. First you need >> syms x (you are declaring that x is a variable) Then you can use the command factor. >> factor(x^2-3*x+2) ans = (x-1)*(x-2) Note that we entered 3*x to represent 3x in the command above. Entering * for multiplication is always necessary in Matlab. Practice problems 1 1. Factor x³+3x²y+3xy²+y³. 2. Evaluate the following. a) sin(π/6) b) c) log 2(5) Solutions 1. syms x y followed by factor(x^3+3*x^2*y+3*x*y^2+y^3) gives you ans=(x+y)^3 2. Enter sin(pi/6). Then ans=.5 b) Enter (sqrt(5)+3)/(sqrt(3)-1). Then ans=7.152 c) Enter log(5)/log(2). Then ans=
2 2. Solving Equations For solving equations, you can use the command solve. The command solve is always followed by parenthesis. After that, you type the equation you would like to solve in single quotes. Then type coma, and variable for which you are solving in (single) quotes. Thus, the command solve has the following form solve('equation', 'variable for which you are solving') For example, to solve the equation x³-2x-4, you type: >> solve('x^3-2*x-4=0') and get the following answer: ans = [ 2] [ -1+i] [ -1-i] Here i stands for the imaginary number 1. This answer tells us that there is just one real solution, 2. Matlab can give you both symbolic and numerical answer. For example, let us solve the equation 3x²-8x+2=0. >> solve('3*x^2-8*x+2=0','x') ans = [ 4/3+1/3*10^(1/2)] [ 4/3-1/3*10^(1/2)] If we want to get the answer in the decimal form with, say, three significant digits, we can use the command vpa. >> vpa(ans, 3) ans = [ 2.38] [ 0.28] The command vpa has the general form vpa(expression you want to approximate, number of significant digits) You can solve more than one equation simultaneously. For example suppose that we need to solve the system x²+ x+ y² = 2 and 2x-y = 2. We can use: >> [x,y] =solve( 'x^2+ x+ y^2 = 2', '2*x-y = 2') to get the answer x = [ 2/5] [ 1] y = [ -6/5] [ 0] Note that the [x,y]= part at the beginning of the command was necessary since without it Matlab produces the answer: ans = x: [2x1 sym] y: [2x1 sym] This answer tells us just that the solutions are two values of the pair (x,y) but we do not get the solutions themselves. To get the solution vectors displayed, we must use [x,y]= before the command solve. You can solve an equation in two variables for one of them. For example the command >> solve('y^2-5*x*y-y+6*x^2+x=2', 'y') - 2 -
3 solves the given equation for values of y in terms of x. The answer is: ans = [ 3*x+2] [ 2*x-1] Practice problems 2 1. Solve the following equations and express the answers as decimal numbers. a) x 3-2x+5=0 b) log 2 (x 2-9)=4. 2. Solve 5x+2y+4z = 8, -3x+y+2z = -7, 2x+y+z = 3 for x, y and z. Solutions. 1. a) Enter solve('x^3-2*x+5=0', 'x'). The only real answer is b) Enter solve('log(x^2-9)/log(2)=4','x'). The answers are ans= 5, [x,y,z]=solve('5*x+2*y+4*z = 8', '-3*x+y+2*z = -7', '2*x+y+z = 3') x=2 y=-1 z=0 3. Representing functions The following table gives an overview of how most commonly used functions or expressions are represented in Matlab. To represent a function, use the command inline. Similarly to solve, this command is followed by parenthesis and has the following form: inline('function', 'independent variable of the function') function or symbol representation in MATLAB Here is how to define the function x²+3x-2: e^x exp(x) >> f = inline('x^2+3*x-2', 'x') f = Inline ln x log(x) function: f(x) = x^2+3*x-2 log x log(x)/log(10) log. base a of x log(x)/log(a) After defining a function, we can evaluate it at a point. For example, >> f(2) ans = 8 sin x cos x arctan(x) π In some cases, we will need to define function f as a vector. Then we use: >> f = inline(vectorize('x^2+3*x-2'), 'x') f = Inline function: f(x) = x.^2+3.*x-2 In this case, we can evaluate a function at more than one point at the same time. For example, to evaluate the above function at 1, 3 and 5 we have: >> f([1 3 5]) ans = sin(x) cos(x) atan(x) pi If a function is short, it might be faster to evaluate a function at a point simply by typing the value of x directly for x. For example, to evaluate sin(x) at x=2, simply type >> sin(2) and obtain the answer ans = As when using the calculator, one must be careful when representing a function. For example 1 x x+6 should be represented as 1/(x*(x+6)) not as 1/x*(x+6) nor as 1/x(x+6), 3 x 2 5x 6 should be represented as 3/(x^2+5*x+6) not as 3/x^2+5*x+6, e 5x2 should be represented as exp(5*x^2) not as e^(5*x^2), exp*(5*x^2), - 3 -
4 exp(5x^2) nor as exp^(5*x^2). Ln(x) should be represented as log(x), not ln(x). log 3 (x 2 ) should be represented as log(x^2)/log(3) not as log(x)/log(3)*x^2. 4. Graphics Let us start by declaring that x is a variable: >> syms x x^2+x+1 The simplest command in Matlab for graphing is ezplot. The command has the following form ezplot(function) For example, to graph the function x²+x+1, you simply type >> ezplot(x^2+x+1) A new window will open and graph will be displayed. To copy the figure to a text file, go to Edit and choose Copy Figure. Then place cursor to the place in x^2+x+1 the word file where you want the figure to be pasted and choose 60 Edit and Paste. We can specify the different scale on x and y axis. To do this, the command axis is used. It has the following form axis([x min, x max, y min, y max ]) This command parallels the commands in menu WINDOW on the TI83 calculators. For example, to see the above graph between x-values -10 and 10 and y-values 0 and 60, you can enter >> axis([ ]) Note that the domain of function did not change by command axis. To see the graph on the entire domain (in this case [-10, 10]), add that domain after the function in the command ezplot: ezplot(function, [x min, x max ]) x^2+x+1 In the example with x²+x+1 >> ezplot(x^2+x+1, [-10, 10]) will give you the desired graph For the alternative command for graphics, plot, you can find more details by typing help. To plot multiple curves on the same window, you can also use the ezplot command. For - 4 -
5 example: >> ezplot(sin(x)) >> hold on >> ezplot(exp(-x^2)) >> hold off 5. Parametric Plots We can use the command ezplot to graph a parametric curve as well. For example, to graph a circle x = cos t, y = sin t for 0 t 2π, we have: >> ezplot('cos(t)', 'sin(t)', [0, 2*pi]) Practice problems 3 1. Let f(x)= x3 +x+ 1 x a) Represent f(x) as a function in Matlab. Then evaluate it at x=3 and x=-2. b) Find x-value(s) that corresponds to y-value y=2. c) Graph f(x) on domain [-4 4]. 2. Graph ln(x+1) and 1-x² on the same plot for x in [-2 6] and y in [-4 4]. Solutions 1. a) >> f=inline('(x^3+x+1)/x', 'x'), >> f(3) ans= , >>f(-2) ans=4.5. b) The problem is asking you to solve equation x3 +x+ 1 =2. Using solve command, x solve('(x^3+x+1)/x=2','x'). you get one real answer x= c) ezplot((x^3+x+1)/x, [-4,4]). 6. Solving Equations in Matlab using fzero In some cases, the command solve may fail to produce all the solutions of an equation. In those cases, you can try to find solutions using fzero (short for "find zero") command. In order to use the command, first you need to write equation in the form f(x)=0. Thus, put all the terms of th equations on one side leaving just zero on the other. To find a solution near the x-value x=a, you can use fzero('left side of the equation', a) The command fzero, similarly as solve is always followed by parenthesis. The equation should be in single quotes
6 If it is not clear what a convenient x-value a should be, you may want to graph the function on the left side of the equation first, check where it intersects the x-axis (alternatively graph left and right side of the equation if it is not in f(x)=0 form and see where the two functions intersect) and then decide which solution you need to find. For example, to solve the equation e x^2-2=x+4, we can first graph the functions on the left and right side of the equation using syms x ezplot(exp(x^2)-2) hold on ezplot(x+4) hold off From the graph, we can see that the two functions intersect at a number near -1 and at a number near 1. To use fzero, we need to represent the equation in the form e x^2-2-(x+4)=0 (or simplified form e x^2 -x-6=0). Then, we can find the positive solution by using fzero to find a zero near 1 and then to find the negative solution near -1, for example. Thus, both solutions can be obtained by: >> fzero('exp(x^2)-2-(x+4)', -1) ans = >> fzero('exp(x^2)-2-(x+4)', 1) ans = Note also that the command solve('exp(x^2)-2=x+4', 'x') returns just the positive solution. Thus, knowing how to use fzero command may be really useful in some cases. 7. Differentiation Start by declaring x for a variable. The command for differentiation is diff. It has the following form diff(function) For example, >> syms x >> diff(x^3-2*x+5) gives us the answer ans = 3*x^2-2 To get n-th derivative use diff(function, n) For example, the 23rd derivative of sin(x) is obtained as follows. >> diff(sin(x), 23) ans =-cos(x) Practice problems 4 1. Let f(x)= x3 +x+ 1 x derivative at x=1. a) Use Matlab to find the first derivative of f(x). b) Evaluate the first 2. Find the 12th derivative of the function x Solutions. 1. a) syms x diff((x^3+x+1)/x) ans = 2*x-1/x^2 or (2*x^3-1)/x^
7 b) Inline the derivative: g=inline('2*x-1/x^2','x'). Then g(1) gives you ans=1. 2. diff((x/2+1)^65, 12) 8. Integration We can use Matlab for computing both definite and indefinite integrals using the command int. For the indefinite integrals, start with syms x followed by the command For example, the command >> int(x^2) evaluates the integral ans = 1/3*x^3 int(function) and gives us the answer For definitive integrals, the command is int(function, lower bound, upper bound) For example, >> int(x^2, 0, 1) evaluates the integral The answer is ans = 1/3 In Matlab, Inf stands for positive infinity. Matlab can evaluate the (convergent) improper integrals as well. For example: >> int(1/x^2, 1, Inf) ans = 1 For the divergent integrals, Matlab gives us the answer infinity. For example: >> int(1/x, 0, 1) ans = inf Practice problems 5 1. Evaluate the following integrals. a) b). 2. Using Matlab, determine if the following integrals converge or diverge. If they converge, evaluate them. a) 1 3 x 2 5x 6 dx b) 1 1 x 1 x+1 dx 2 Solutions. 1. a) syms x int(x*exp(-3*x)) ans=-1/3*x*exp(-3*x)-1/9*exp(-3*x) b) int(x*exp(-3*x), 0,1) ans=-4/9*exp(-3)+1/9 vpa(ans, 4) ans= a) int(3/(x^2+5*x+6), 1, Inf) vpa(ans, 4) ans=.8338 So, the integral is convergent. b) int(1/((x-1)*(x+1)), 1, 2) ans= Inf So, the integral is divergent. 9. Limits - 7 -
8 You can use limit to compute limits, left and right limits as well as infinite limits. For example, to evaluate the limit when x 2 of the function x2 4, we have: x 2 >> syms x >> limit((x^2-4)/(x-2), x, 2) ans = 4 For left or right limits: >> limit(abs(x)/x, x, 0, 'left') ans = -1 >> limit(abs(x)/x, x, 0, 'right') ans = 1 Limits at infinity: >> limit(exp(-x^2-5)+3, x, Inf) ans = 3 Practice problem 6 Find the limits of the following functions at indicated values. a) f(x)= x12 1 x 3 1, x 1 b) f(x)= 3+e-2x, x c) f(x)= 6x3 4x 5 2x 3 1, x Solutions. a) syms x limit((x^12-1)/(x^3-1), x, 1) ans=4 b) limit(3+exp(-2*x), x, Inf) ans=3 c) limit((6*x^3-4*x+5)/(2*x^3-1), x, Inf) ans=3-8 -
Section 2.7 One-to-One Functions and Their Inverses
Section. One-to-One Functions and Their Inverses One-to-One Functions HORIZONTAL LINE TEST: A function is one-to-one if and only if no horizontal line intersects its graph more than once. EXAMPLES: 1.
An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate.
Chapter 10 Series and Approximations An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate 1 0 e x2 dx, you could set
SOLUTIONS. f x = 6x 2 6xy 24x, f y = 3x 2 6y. To find the critical points, we solve
SOLUTIONS Problem. Find the critical points of the function f(x, y = 2x 3 3x 2 y 2x 2 3y 2 and determine their type i.e. local min/local max/saddle point. Are there any global min/max? Partial derivatives
Section 12.6: Directional Derivatives and the Gradient Vector
Section 26: Directional Derivatives and the Gradient Vector Recall that if f is a differentiable function of x and y and z = f(x, y), then the partial derivatives f x (x, y) and f y (x, y) give the rate
2 Integrating Both Sides
2 Integrating Both Sides So far, the only general method we have for solving differential equations involves equations of the form y = f(x), where f(x) is any function of x. The solution to such an equation
Academic Support Center. Using the TI-83/84+ Graphing Calculator PART II
Academic Support Center Using the TI-83/84+ Graphing Calculator PART II Designed and Prepared by The Academic Support Center Revised June 2012 1 Using the Graphing Calculator (TI-83+ or TI-84+) Table of
Taylor and Maclaurin Series
Taylor and Maclaurin Series In the preceding section we were able to find power series representations for a certain restricted class of functions. Here we investigate more general problems: Which functions
12.6 Logarithmic and Exponential Equations PREPARING FOR THIS SECTION Before getting started, review the following:
Section 1.6 Logarithmic and Exponential Equations 811 1.6 Logarithmic and Exponential Equations PREPARING FOR THIS SECTION Before getting started, review the following: Solve Quadratic Equations (Section
Inverse Functions and Logarithms
Section 3. Inverse Functions and Logarithms 1 Kiryl Tsishchanka Inverse Functions and Logarithms DEFINITION: A function f is called a one-to-one function if it never takes on the same value twice; that
Solutions to Practice Problems for Test 4
olutions to Practice Problems for Test 4 1. Let be the line segmentfrom the point (, 1, 1) to the point (,, 3). Evaluate the line integral y ds. Answer: First, we parametrize the line segment from (, 1,
MatLab Basics. Now, press return to see what Matlab has stored as your variable x. You should see:
MatLab Basics MatLab was designed as a Matrix Laboratory, so all operations are assumed to be done on matrices unless you specifically state otherwise. (In this context, numbers (scalars) are simply regarded
Approximating functions by Taylor Polynomials.
Chapter 4 Approximating functions by Taylor Polynomials. 4.1 Linear Approximations We have already seen how to approximate a function using its tangent line. This was the key idea in Euler s method. If
Homework # 3 Solutions
Homework # 3 Solutions February, 200 Solution (2.3.5). Noting that and ( + 3 x) x 8 = + 3 x) by Equation (2.3.) x 8 x 8 = + 3 8 by Equations (2.3.7) and (2.3.0) =3 x 8 6x2 + x 3 ) = 2 + 6x 2 + x 3 x 8
DERIVATIVES AS MATRICES; CHAIN RULE
DERIVATIVES AS MATRICES; CHAIN RULE 1. Derivatives of Real-valued Functions Let s first consider functions f : R 2 R. Recall that if the partial derivatives of f exist at the point (x 0, y 0 ), then we
ALGEBRA REVIEW LEARNING SKILLS CENTER. Exponents & Radicals
ALGEBRA REVIEW LEARNING SKILLS CENTER The "Review Series in Algebra" is taught at the beginning of each quarter by the staff of the Learning Skills Center at UC Davis. This workshop is intended to be an
correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:
Topic 1 2.1 mode MultipleSelection text How can we approximate the slope of the tangent line to f(x) at a point x = a? This is a Multiple selection question, so you need to check all of the answers that
Pre-Calculus Graphing Calculator Handbook
Pre-Calculus Graphing Calculator Handbook I. Graphing Functions A. Button for Functions This button is used to enter any function to be graphed. You can enter up to 10 different functions at a time. Use
To differentiate logarithmic functions with bases other than e, use
To ifferentiate logarithmic functions with bases other than e, use 1 1 To ifferentiate logarithmic functions with bases other than e, use log b m = ln m ln b 1 To ifferentiate logarithmic functions with
Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.
Chapter 1 Vocabulary identity - A statement that equates two equivalent expressions. verbal model- A word equation that represents a real-life problem. algebraic expression - An expression with variables.
Lectures 5-6: Taylor Series
Math 1d Instructor: Padraic Bartlett Lectures 5-: Taylor Series Weeks 5- Caltech 213 1 Taylor Polynomials and Series As we saw in week 4, power series are remarkably nice objects to work with. In particular,
Introduction to the TI-Nspire CX
Introduction to the TI-Nspire CX Activity Overview: In this activity, you will become familiar with the layout of the TI-Nspire CX. Step 1: Locate the Touchpad. The Touchpad is used to navigate the cursor
a. all of the above b. none of the above c. B, C, D, and F d. C, D, F e. C only f. C and F
FINAL REVIEW WORKSHEET COLLEGE ALGEBRA Chapter 1. 1. Given the following equations, which are functions? (A) y 2 = 1 x 2 (B) y = 9 (C) y = x 3 5x (D) 5x + 2y = 10 (E) y = ± 1 2x (F) y = 3 x + 5 a. all
Practice Final Math 122 Spring 12 Instructor: Jeff Lang
Practice Final Math Spring Instructor: Jeff Lang. Find the limit of the sequence a n = ln (n 5) ln (3n + 8). A) ln ( ) 3 B) ln C) ln ( ) 3 D) does not exist. Find the limit of the sequence a n = (ln n)6
MATHEMATICAL INSTITUTE UNIVERSITY OF OXFORD. Exploring Mathematics with MuPAD
MATHEMATICAL INSTITUTE UNIVERSITY OF OXFORD Exploring Mathematics with MuPAD Students Guide Michaelmas Term 2011 by Colin MacDonald y 1 0 0.2 0.3 0.4 0.5 0.6 0.7 x 1 2 3 Version 1.0, October 2010, written
Sequences and Series
Sequences and Series Consider the following sum: 2 + 4 + 8 + 6 + + 2 i + The dots at the end indicate that the sum goes on forever. Does this make sense? Can we assign a numerical value to an infinite
Vocabulary Words and Definitions for Algebra
Name: Period: Vocabulary Words and s for Algebra Absolute Value Additive Inverse Algebraic Expression Ascending Order Associative Property Axis of Symmetry Base Binomial Coefficient Combine Like Terms
RAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A
RAJALAKSHMI ENGINEERING COLLEGE MA 26 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS. Solve (D 2 + D 2)y = 0. 2. Solve (D 2 + 6D + 9)y = 0. PART A 3. Solve (D 4 + 4)x = 0 where D = d dt 4. Find Particular Integral:
1. Then f has a relative maximum at x = c if f(c) f(x) for all values of x in some
Section 3.1: First Derivative Test Definition. Let f be a function with domain D. 1. Then f has a relative maximum at x = c if f(c) f(x) for all values of x in some open interval containing c. The number
Pre-Session Review. Part 2: Mathematics of Finance
Pre-Session Review Part 2: Mathematics of Finance For this section you will need a calculator with logarithmic and exponential function keys (such as log, ln, and x y ) D. Exponential and Logarithmic Functions
Microeconomic Theory: Basic Math Concepts
Microeconomic Theory: Basic Math Concepts Matt Van Essen University of Alabama Van Essen (U of A) Basic Math Concepts 1 / 66 Basic Math Concepts In this lecture we will review some basic mathematical concepts
0 Introduction to Data Analysis Using an Excel Spreadsheet
Experiment 0 Introduction to Data Analysis Using an Excel Spreadsheet I. Purpose The purpose of this introductory lab is to teach you a few basic things about how to use an EXCEL 2010 spreadsheet to do
( 1)2 + 2 2 + 2 2 = 9 = 3 We would like to make the length 6. The only vectors in the same direction as v are those
1.(6pts) Which of the following vectors has the same direction as v 1,, but has length 6? (a), 4, 4 (b),, (c) 4,, 4 (d), 4, 4 (e) 0, 6, 0 The length of v is given by ( 1) + + 9 3 We would like to make
FINAL EXAM SOLUTIONS Math 21a, Spring 03
INAL EXAM SOLUIONS Math 21a, Spring 3 Name: Start by printing your name in the above box and check your section in the box to the left. MW1 Ken Chung MW1 Weiyang Qiu MW11 Oliver Knill h1 Mark Lucianovic
Section 4.5 Exponential and Logarithmic Equations
Section 4.5 Exponential and Logarithmic Equations Exponential Equations An exponential equation is one in which the variable occurs in the exponent. EXAMPLE: Solve the equation x = 7. Solution 1: We have
What are the place values to the left of the decimal point and their associated powers of ten?
The verbal answers to all of the following questions should be memorized before completion of algebra. Answers that are not memorized will hinder your ability to succeed in geometry and algebra. (Everything
Basic Graphing Functions for the TI-83 and TI-84
Basic Graphing Functions for the TI-83 and TI-84 The primary benefits of the TI-83 and TI-84 are the abilities to graph functions and to identify properties those functions possess. The purpose of this
New Higher-Proposed Order-Combined Approach. Block 1. Lines 1.1 App. Vectors 1.4 EF. Quadratics 1.1 RC. Polynomials 1.1 RC
New Higher-Proposed Order-Combined Approach Block 1 Lines 1.1 App Vectors 1.4 EF Quadratics 1.1 RC Polynomials 1.1 RC Differentiation-but not optimisation 1.3 RC Block 2 Functions and graphs 1.3 EF Logs
NOTES ON MAPLE COMPUTER ASSIGNMENT. You can do your Maple Assignment in Math. Department on the 5th. floor
NTES N MAPLE CMPUTER ASSIGNMENT (A) WHERE CAN I D MY ASSIGNMENT? You can do your Maple Assignment in Math. Department on the 5th. floor of Mathematical Sciences Building, Rooms MS 515, MS 51 or Room MS
Graphing Rational Functions
Graphing Rational Functions A rational function is defined here as a function that is equal to a ratio of two polynomials p(x)/q(x) such that the degree of q(x) is at least 1. Examples: is a rational function
CS 261 Fall 2011 Solutions to Assignment #4
CS 61 Fall 011 Solutions to Assignment #4 The following four algorithms are used to implement the bisection method, Newton s method, the secant method, and the method of false position, respectively. In
TI-83/84 Plus Graphing Calculator Worksheet #2
TI-83/8 Plus Graphing Calculator Worksheet #2 The graphing calculator is set in the following, MODE, and Y, settings. Resetting your calculator brings it back to these original settings. MODE Y Note that
L 2 : x = s + 1, y = s, z = 4s + 4. 3. Suppose that C has coordinates (x, y, z). Then from the vector equality AC = BD, one has
The line L through the points A and B is parallel to the vector AB = 3, 2, and has parametric equations x = 3t + 2, y = 2t +, z = t Therefore, the intersection point of the line with the plane should satisfy:
AP CALCULUS AB 2008 SCORING GUIDELINES
AP CALCULUS AB 2008 SCORING GUIDELINES Question 1 Let R be the region bounded by the graphs of y = sin( π x) and y = x 4 x, as shown in the figure above. (a) Find the area of R. (b) The horizontal line
Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.
Excel Tutorial Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information. Working with Data Entering and Formatting Data Before entering data
G.A. Pavliotis. Department of Mathematics. Imperial College London
EE1 MATHEMATICS NUMERICAL METHODS G.A. Pavliotis Department of Mathematics Imperial College London 1. Numerical solution of nonlinear equations (iterative processes). 2. Numerical evaluation of integrals.
GRAPHING IN POLAR COORDINATES SYMMETRY
GRAPHING IN POLAR COORDINATES SYMMETRY Recall from Algebra and Calculus I that the concept of symmetry was discussed using Cartesian equations. Also remember that there are three types of symmetry - y-axis,
3.2 Sources, Sinks, Saddles, and Spirals
3.2. Sources, Sinks, Saddles, and Spirals 6 3.2 Sources, Sinks, Saddles, and Spirals The pictures in this section show solutions to Ay 00 C By 0 C Cy D 0. These are linear equations with constant coefficients
www.mathsbox.org.uk ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates
Further Pure Summary Notes. Roots of Quadratic Equations For a quadratic equation ax + bx + c = 0 with roots α and β Sum of the roots Product of roots a + b = b a ab = c a If the coefficients a,b and c
FACTORING QUADRATICS 8.1.1 and 8.1.2
FACTORING QUADRATICS 8.1.1 and 8.1.2 Chapter 8 introduces students to quadratic equations. These equations can be written in the form of y = ax 2 + bx + c and, when graphed, produce a curve called a parabola.
MATLAB Workshop 14 - Plotting Data in MATLAB
MATLAB: Workshop 14 - Plotting Data in MATLAB page 1 MATLAB Workshop 14 - Plotting Data in MATLAB Objectives: Learn the basics of displaying a data plot in MATLAB. MATLAB Features: graphics commands Command
Introductory Handbook for the TI-89 Titanium
Introductory Handbook for the TI-89 Titanium Note: This handbook will, for the most part, work for the standard TI-89 as well. The color-coding used on the TI-89 differs from the color-coding used on the
Exam 1 Sample Question SOLUTIONS. y = 2x
Exam Sample Question SOLUTIONS. Eliminate the parameter to find a Cartesian equation for the curve: x e t, y e t. SOLUTION: You might look at the coordinates and notice that If you don t see it, we can
In the Herb Business, Part III Factoring and Quadratic Equations
74 In the Herb Business, Part III Factoring and Quadratic Equations In the herbal medicine business, you and your partner sold 120 bottles of your best herbal medicine each week when you sold at your original
Math 113 HW #7 Solutions
Math 3 HW #7 Solutions 35 0 Given find /dx by implicit differentiation y 5 + x 2 y 3 = + ye x2 Answer: Differentiating both sides with respect to x yields 5y 4 dx + 2xy3 + x 2 3y 2 ) dx = dx ex2 + y2x)e
Coordinate Plane, Slope, and Lines Long-Term Memory Review Review 1
Review. What does slope of a line mean?. How do you find the slope of a line? 4. Plot and label the points A (3, ) and B (, ). a. From point B to point A, by how much does the y-value change? b. From point
Make sure you look at the reminders or examples before each set of problems to jog your memory! Solve
Name Date Make sure you look at the reminders or examples before each set of problems to jog your memory! I. Solving Linear Equations 1. Eliminate parentheses. Combine like terms 3. Eliminate terms by
PROBLEM SET. Practice Problems for Exam #1. Math 1352, Fall 2004. Oct. 1, 2004 ANSWERS
PROBLEM SET Practice Problems for Exam # Math 352, Fall 24 Oct., 24 ANSWERS i Problem. vlet R be the region bounded by the curves x = y 2 and y = x. A. Find the volume of the solid generated by revolving
Chapter 7 - Roots, Radicals, and Complex Numbers
Math 233 - Spring 2009 Chapter 7 - Roots, Radicals, and Complex Numbers 7.1 Roots and Radicals 7.1.1 Notation and Terminology In the expression x the is called the radical sign. The expression under the
Math 241, Exam 1 Information.
Math 241, Exam 1 Information. 9/24/12, LC 310, 11:15-12:05. Exam 1 will be based on: Sections 12.1-12.5, 14.1-14.3. The corresponding assigned homework problems (see http://www.math.sc.edu/ boylan/sccourses/241fa12/241.html)
5.7 Maximum and Minimum Values
5.7 Maximum and Minimum Values Objectives Icandefinecriticalpoints. I know the di erence between local and absolute minimums/maximums. I can find local maximum(s), minimum(s), and saddle points for a given
This makes sense. t 2 1 + 1/t 2 dt = 1. t t 2 + 1dt = 2 du = 1 3 u3/2 u=5
1. (Line integrals Using parametrization. Two types and the flux integral) Formulas: ds = x (t) dt, d x = x (t)dt and d x = T ds since T = x (t)/ x (t). Another one is Nds = T ds ẑ = (dx, dy) ẑ = (dy,
http://school-maths.com Gerrit Stols
For more info and downloads go to: http://school-maths.com Gerrit Stols Acknowledgements GeoGebra is dynamic mathematics open source (free) software for learning and teaching mathematics in schools. It
Derive 5: The Easiest... Just Got Better!
Liverpool John Moores University, 1-15 July 000 Derive 5: The Easiest... Just Got Better! Michel Beaudin École de Technologie Supérieure, Canada Email; [email protected] 1. Introduction Engineering
PRACTICE FINAL. Problem 1. Find the dimensions of the isosceles triangle with largest area that can be inscribed in a circle of radius 10cm.
PRACTICE FINAL Problem 1. Find the dimensions of the isosceles triangle with largest area that can be inscribed in a circle of radius 1cm. Solution. Let x be the distance between the center of the circle
The Fourth International DERIVE-TI92/89 Conference Liverpool, U.K., 12-15 July 2000. Derive 5: The Easiest... Just Got Better!
The Fourth International DERIVE-TI9/89 Conference Liverpool, U.K., -5 July 000 Derive 5: The Easiest... Just Got Better! Michel Beaudin École de technologie supérieure 00, rue Notre-Dame Ouest Montréal
x(x + 5) x 2 25 (x + 5)(x 5) = x 6(x 4) x ( x 4) + 3
CORE 4 Summary Notes Rational Expressions Factorise all expressions where possible Cancel any factors common to the numerator and denominator x + 5x x(x + 5) x 5 (x + 5)(x 5) x x 5 To add or subtract -
MATLAB LECTURE NOTES. Dr. ADİL YÜCEL. Istanbul Technical University Department of Mechanical Engineering
MATLAB LECTURE NOTES Dr. ADİL YÜCEL Istanbul Technical University Department of Mechanical Engineering MATLAB LECTURE NOTES Student Name Student ID Dr. ADİL YÜCEL Istanbul Technical University Department
100. In general, we can define this as if b x = a then x = log b
Exponents and Logarithms Review 1. Solving exponential equations: Solve : a)8 x = 4! x! 3 b)3 x+1 + 9 x = 18 c)3x 3 = 1 3. Recall: Terminology of Logarithms If 10 x = 100 then of course, x =. However,
5 Systems of Equations
Systems of Equations Concepts: Solutions to Systems of Equations-Graphically and Algebraically Solving Systems - Substitution Method Solving Systems - Elimination Method Using -Dimensional Graphs to Approximate
CRLS Mathematics Department Algebra I Curriculum Map/Pacing Guide
Curriculum Map/Pacing Guide page 1 of 14 Quarter I start (CP & HN) 170 96 Unit 1: Number Sense and Operations 24 11 Totals Always Include 2 blocks for Review & Test Operating with Real Numbers: How are
CHAPTER FIVE. Solutions for Section 5.1. Skill Refresher. Exercises
CHAPTER FIVE 5.1 SOLUTIONS 265 Solutions for Section 5.1 Skill Refresher S1. Since 1,000,000 = 10 6, we have x = 6. S2. Since 0.01 = 10 2, we have t = 2. S3. Since e 3 = ( e 3) 1/2 = e 3/2, we have z =
6.4 Logarithmic Equations and Inequalities
6.4 Logarithmic Equations and Inequalities 459 6.4 Logarithmic Equations and Inequalities In Section 6.3 we solved equations and inequalities involving exponential functions using one of two basic strategies.
Calculus 1: Sample Questions, Final Exam, Solutions
Calculus : Sample Questions, Final Exam, Solutions. Short answer. Put your answer in the blank. NO PARTIAL CREDIT! (a) (b) (c) (d) (e) e 3 e Evaluate dx. Your answer should be in the x form of an integer.
299ReviewProblemSolutions.nb 1. Review Problems. Final Exam: Wednesday, 12/16/2009 1:30PM. Mathematica 6.0 Initializations
99ReviewProblemSolutions.nb Review Problems Final Exam: Wednesday, /6/009 :30PM Mathematica 6.0 Initializations R.) Put x@td = t - and y@td = t -. Sketch on the axes below the curve traced out by 8x@tD,
Chapter. Numerical Calculations
Chapter 3 Numerical Calculations 3-1 Before Performing a Calculation 3-2 Differential Calculations 3-3 Quadratic Differential Calculations 3-4 Integration Calculations 3-5 Maximum/Minimum Value Calculations
Introduction to Numerical Math and Matlab Programming
Introduction to Numerical Math and Matlab Programming Todd Young and Martin Mohlenkamp Department of Mathematics Ohio University Athens, OH 45701 [email protected] c 2009 - Todd Young and Martin Mohlenkamp.
Review Solutions MAT V1102. 1. (a) If u = 4 x, then du = dx. Hence, substitution implies 1. dx = du = 2 u + C = 2 4 x + C.
Review Solutions MAT V. (a) If u 4 x, then du dx. Hence, substitution implies dx du u + C 4 x + C. 4 x u (b) If u e t + e t, then du (e t e t )dt. Thus, by substitution, we have e t e t dt e t + e t u
2.5 Transformations of Functions
2.5 Transformations of Functions Section 2.5 Notes Page 1 We will first look at the major graphs you should know how to sketch: Square Root Function Absolute Value Function Identity Function Domain: [
Understanding Basic Calculus
Understanding Basic Calculus S.K. Chung Dedicated to all the people who have helped me in my life. i Preface This book is a revised and expanded version of the lecture notes for Basic Calculus and other
The Mathematics Diagnostic Test
The Mathematics iagnostic Test Mock Test and Further Information 010 In welcome week, students will be asked to sit a short test in order to determine the appropriate lecture course, tutorial group, whether
Differentiation and Integration
This material is a supplement to Appendix G of Stewart. You should read the appendix, except the last section on complex exponentials, before this material. Differentiation and Integration Suppose we have
Find all of the real numbers x that satisfy the algebraic equation:
Appendix C: Factoring Algebraic Expressions Factoring algebraic equations is the reverse of expanding algebraic expressions discussed in Appendix B. Factoring algebraic equations can be a great help when
Section 11.1: Vectors in the Plane. Suggested Problems: 1, 5, 9, 17, 23, 25-37, 40, 42, 44, 45, 47, 50
Section 11.1: Vectors in the Plane Page 779 Suggested Problems: 1, 5, 9, 17, 3, 5-37, 40, 4, 44, 45, 47, 50 Determine whether the following vectors a and b are perpendicular. 5) a = 6, 0, b = 0, 7 Recall
Review Sheet for Test 1
Review Sheet for Test 1 Math 261-00 2 6 2004 These problems are provided to help you study. The presence of a problem on this handout does not imply that there will be a similar problem on the test. And
Integrals of Rational Functions
Integrals of Rational Functions Scott R. Fulton Overview A rational function has the form where p and q are polynomials. For example, r(x) = p(x) q(x) f(x) = x2 3 x 4 + 3, g(t) = t6 + 4t 2 3, 7t 5 + 3t
Simplify the rational expression. Find all numbers that must be excluded from the domain of the simplified rational expression.
MAC 1105 Final Review Simplify the rational expression. Find all numbers that must be excluded from the domain of the simplified rational expression. 1) 8x 2-49x + 6 x - 6 A) 1, x 6 B) 8x - 1, x 6 x -
(a) We have x = 3 + 2t, y = 2 t, z = 6 so solving for t we get the symmetric equations. x 3 2. = 2 y, z = 6. t 2 2t + 1 = 0,
Name: Solutions to Practice Final. Consider the line r(t) = 3 + t, t, 6. (a) Find symmetric equations for this line. (b) Find the point where the first line r(t) intersects the surface z = x + y. (a) We
Part V: Texas Instruments TI-92, TI-92 Plus, Voyage 200
Part V: Texas Instruments TI-92, TI-92 Plus, Voyage 200 V.1 Getting started with the TI-92, TI-92 Plus, Voyage 200 Note: All keystroke sequences given for the Voyage 200 are applicable to the TI-92 and
GREEN CHICKEN EXAM - NOVEMBER 2012
GREEN CHICKEN EXAM - NOVEMBER 2012 GREEN CHICKEN AND STEVEN J. MILLER Question 1: The Green Chicken is planning a surprise party for his grandfather and grandmother. The sum of the ages of the grandmother
Euler s Formula Math 220
Euler s Formula Math 0 last change: Sept 3, 05 Complex numbers A complex number is an expression of the form x+iy where x and y are real numbers and i is the imaginary square root of. For example, + 3i
Summary of important mathematical operations and formulas (from first tutorial):
EXCEL Intermediate Tutorial Summary of important mathematical operations and formulas (from first tutorial): Operation Key Addition + Subtraction - Multiplication * Division / Exponential ^ To enter a
Excel Guide for Finite Mathematics and Applied Calculus
Excel Guide for Finite Mathematics and Applied Calculus Revathi Narasimhan Kean University A technology guide to accompany Mathematical Applications, 6 th Edition Applied Calculus, 2 nd Edition Calculus:
Figure 1.1 Vector A and Vector F
CHAPTER I VECTOR QUANTITIES Quantities are anything which can be measured, and stated with number. Quantities in physics are divided into two types; scalar and vector quantities. Scalar quantities have
MATH 132: CALCULUS II SYLLABUS
MATH 32: CALCULUS II SYLLABUS Prerequisites: Successful completion of Math 3 (or its equivalent elsewhere). Math 27 is normally not a sufficient prerequisite for Math 32. Required Text: Calculus: Early
Chapter 4. Spreadsheets
Chapter 4. Spreadsheets We ve discussed rather briefly the use of computer algebra in 3.5. The approach of relying on www.wolframalpha.com is a poor subsititute for a fullfeatured computer algebra program
Mathematics. Accelerated GSE Analytic Geometry B/Advanced Algebra Unit 7: Rational and Radical Relationships
Georgia Standards of Excellence Frameworks Mathematics Accelerated GSE Analytic Geometry B/Advanced Algebra Unit 7: Rational and Radical Relationships These materials are for nonprofit educational purposes
Polynomials and Quadratics
Polynomials and Quadratics Want to be an environmental scientist? Better be ready to get your hands dirty!.1 Controlling the Population Adding and Subtracting Polynomials............703.2 They re Multiplying
5-3 Polynomial Functions. not in one variable because there are two variables, x. and y
y. 5-3 Polynomial Functions State the degree and leading coefficient of each polynomial in one variable. If it is not a polynomial in one variable, explain why. 1. 11x 6 5x 5 + 4x 2 coefficient of the
