Euler s Method and Functions
|
|
|
- Joella Blankenship
- 9 years ago
- Views:
Transcription
1 Chapter 3 Euler s Method and Functions The simplest method for approximately solving a differential equation is Euler s method. One starts with a particular initial value problem of the form dx dt = f(t, x), x(t 0) = x 0, (3.0.1) such as dx = x(1 x), x(0) = 0.1 dt or dx = x(1 x) sin(t), x(0) = 0.1 dt The equation and the initial condition combine to tell us the derivative of the solution x(t) at time t 0, x (t 0 ) = f(t 0, x 0 ). Knowing the derivative, we can expect that the solution will look linear, with the given slope, if t is near t 0. Pick a value t 1, and let h = t 1 t 0. The (Euler) approximate solution at t 1 is x(t 1 ) x 1 = x(t 0 ) + hx (t 0 ) = x(t 0 ) + hf(t 0, x 0 ). This value x 1 can be used with the equation to obtain an approximate value for the derivative at t 1, x (t 1 ) x 1 = f(t 1, x 1 ). 23
2 24 CHAPTER 3. EULER S METHOD AND FUNCTIONS The method continues in this fashion, with sample times t n = t 0 + nh, t n+1 t n = h, and approximate solution values defined iteratively, x(t n+1 ) x(t n ) + hf(t n, x n ). Program 2 uses the Matlab commands and arrays previously introduced to compute an approximate solution of the initial value problem dx dt = x(1 x), x(0) = 0.1 Recall that Matlab arrays have initial index 1, so we let T(i) = t i 1, X(i) = x i 1, i = 1,...,N. Programs (or main programs) are usually saved as a script file in Matlab. If you click on File, new, and script, you should get the correct file format. Function subprograms, which will be discussed soon, should be saved as new function files.
3 3.1. PROGRAM Program 2 % This program is designed to exercise some of the basic % capabilities of Matlab for studying differential equations. % The initial problem is solving the differential equation % x = x(1-x) % using Euler s method, then plotting the results. % Euler s method computes values of an approximate solution % on an interval [a,b] % In this example the interval will be [0,10], and % the solution will be computed at 1000 points. % Initialize parameters and vectors N = 1000; % N is the vector size for the problem. T = zeros(n,1); % T will contain samples from the t-axis. X = zeros(n,1); % X will contain samples of the solution. % The vector T will be needed for plotting the results. % It is not part of the basic Euler s method. %This method uses a step size % h which needs to be defined. % We also need an initial value for the solution. h =.01; X(1) = 0.1; % Next, Euler s method calculates the values of the solution X, % and the corresponding value of T. for i=2:n T(i) = (i-1)*h; X(i) = X(i-1) + h*x(i-1)*(1 - X(i-1)); end % The plot can be generated using the following commands. % The axis command helps control the display, forcing the % x-axis to be displayed from 0 to 10, and the y-axis % to be displayed from 0 to 1. plot(t,x); axis([ ]);
4 26 CHAPTER 3. EULER S METHOD AND FUNCTIONS Although Euler s method is simple, it is usually inefficient for high accuracy computations. As an example, you could consider the problem of computing the constant e = exp(1) to 12 digits, which is typically the accuracy of your calculator. Since exp(t) = e t satisfies the initial value problem dx dt = x, x(0) = 1, the value of e could be calculated using Euler s method. Program 3 carries out this computation. Since scientific software has highly precise algorithms for basic computations like the value of e x, we can easily compare Euler s method with the known value. This code allows you to compare results graphically. Notice that the command plot(t,x,t,y); plots the two arrays X and Y as functions of T. The second set of plotting commands is more sophisticated. The command axis([ ]); controls the displayed domain and range. A title and a label for t-axis are added with the instructions title( Comparing exp(t) with Euler computation ); xlabel( t ); One of the functions is plotted with dashes using plot(t,y, -- ); A legend connecting the graphs to their display formats is created with legend( Euler computation, exp(t) ); Finally, the computer has to be warned that it should not throw away the first graph before displaying the second. This is handled with the commands hold on;... hold off;
5 3.1. PROGRAM 2 27 I ve also tossed in a command which is useful for interrupting the program and restarting it, for instance after you have examined some result. The command control = input( Hit enter (or return) to continue ); causes the computer to type the string Hit enter (or return) to continue to the screen. It then waits until you hit return before continuing to execute the program.
6 28 CHAPTER 3. EULER S METHOD AND FUNCTIONS 3.2 Program 3 % One problem with numerical computations like Euler s method % is that they produce results which may not be accurate. % One way to assess accuracy is to compare their computations % with known results. For instance, we could solve the simple % differential equation y = y, with solution y(t) = exp(t). % Here s a piece of code that computes this function with % Euler s method, and graphically compares the result with % the exact solution. % Initialize parameters and vectors N = 100; % N is the vector size for the problem T = zeros(n,1); % T holds the t-axis samples X = zeros(n,1); % X holds the computed solution Y = zeros(n,1); % Y holds the exact solution. % Let s solve the differential equation % x = x, x(0) = 1 % on the interval [0,5] using Euler s method. h = 5/N; % Define step size h X(1) = 1; % Set initial value for computed solution Y(1) = 1; % Set initial value for exact solution T(1) = 0; % Initialize T for i=2:n T(i) = (i-1)*h; Y(i) = exp(t(i)); X(i) = X(i-1) + h*x(i-1); end plot(t,x,t,y); % Obviously, the functions are not the same over the % range [0,5]. % To make the plot more useful, here is an alternative set of % commands that adds captions as it plots one graph at a time.
7 3.2. PROGRAM 3 29 % The hold on command is needed to overlay plots. % Wait for a key to be pressed on the keyboard control = input( Hit enter (or return) to continue ); plot(t,x); axis([ ]); title( Comparing exp(t) with Euler computation ); xlabel( t ); hold on; plot(t,y, -- ); legend( Euler computation, exp(t) ); hold off;
8 30 CHAPTER 3. EULER S METHOD AND FUNCTIONS Program 4 is a revision of the Euler s method code which includes two important features: (i) input of parameters from the keyboard, and (ii) use of function subprograms. Both features are helpful if you want to develop a piece of software that can be used repeatedly for solving similar problems. In this case we want to solve initial value problems using Euler s method. Euler s method computes values of an approximate solution to x = f(t, x), x(t 0 ) = x 0, on an interval [a, b]. The algorithm also requires us to specify a number N of algorithmic increments, corresponding to N + 1 sample points t 0,...,t N. Input of the parameters N, a and b from the keyboard is controlled by the following instructions. N = input( Enter the number of sample points, then hit return \n ) a = input( Enter the value of "a" to define the interval [a,b] \n ) b = input( Enter the value of "b" to define the interval [a,b] \n ) Each command prints the character string in single quotes to the screen, waits until you enter a value and hit return, then assigns the typed value to the variable on the left of the equal sign. The \n at the end of the strings tells the computer to advance one line on the display device. This makes it easier to see what values are being entered.
9 3.3. PROGRAM 4 - MAIN PROGRAM Program 4 - Main program % This program revises the Euler s method code to include a function. % In addition, part of the problem description will be input from % the keyboard. % Euler s method computes values of an approximate solution to % x = f(t,x), x(t_0) = x_0 % on an interval [a,b] % In this example the interval and the number of sample points % will be input from the keyboard. flag = 0; while(flag == 0) N = input( Enter the number of sample points, then hit return \n ) a = input( Enter the value of "a" to define the interval [a,b] \n ) b = input( Enter the value of "b" to define the interval [a,b] \n ) flag = input( Enter 1 to proceed, or 0 to redefine parameters \n ); end % Initialize vectors T = zeros(n,1); % T will contain sample values from the t-axis. X = zeros(n,1); % X will contain samples of the computed solution. % The vector T will be needed for plotting the results. It is not % part of the basic Euler s method. %This method uses a computed step size h. h = (b-a)/n % We also need an initial value for the solution. X(1) = input( Enter the initial value of the solution x at t = a \n ); T(1) = a; % Next, Euler s method calculates the values of the solution X, and % the corresponding value of T. for i=2:n T(i) = a + (i-1)*h; X(i) = X(i-1) + h*myfunction1(x(i-1));
10 32 CHAPTER 3. EULER S METHOD AND FUNCTIONS end % The plot can be generated using the following commands. % The axis command helps control the display, forcing the % x-axis to be displayed from 0 to 10, and the y-axis % to be displayed from 0 to 1. plot(t,x); axis([a b 0 1]);
11 3.3. PROGRAM 4 - MAIN PROGRAM 33 Notice that the program contains extra code, which is a bit more complex than is absolutely necessary. Experience teaches that this approach is useful. When you are entering control parameters for a familiar program, mistakes are fairly common. Instead of executing the program with incorrect values, which in some cases could mean a delay of hours or more, or interupting the computer, a practical idea is to deliberately stop the program execution until you confirm that you want to proceed. That is the purpose of the given segment of instructions. flag = 0; while(flag == 0) N = input( Enter the number of sample points, then hit return \n ) a = input( Enter the value of "a" to define the interval [a,b] \n ) b = input( Enter the value of "b" to define the interval [a,b] \n ) flag = input( Enter 1 to proceed, or 0 to redefine parameters \n ); end The while loop repeatedly executes the input commands until the value of flag changes from 0 to another value. If you enter a 1 at the final prompt, the loop will stop repeating, and the program will continue. Matlab has based much of its programming structure on the programming language C. Along with C, Matlab has an AWFUL feature illustrated by the while statement while(flag == 0) Notice that there is a double equal sign ==. To execute the while command, the computer evaluates the truth of the statement flag equals 0 if you type flag == 0. However, if you type flag = 0 with a single equal sign, you get an error message. The situation is much worse in C, where the computer assigns the value 0 to the variable flag, then tries to evaluate the truth of that statement. This can lead to major problems. The second feature in program 4 is the use of a function subprogram, which in this case is called Myfunction1. In this example the function is simply used to provide a concrete example of the general function f(t, x) that we see in the problem or algorithm description.
12 34 CHAPTER 3. EULER S METHOD AND FUNCTIONS Function subprograms are an essential part of good software development. Suppose we wanted to expand this program to include a graph of f(t, x) = x(1 x), as well as a comparison of several different algorithms for solving the differential equation, each of which requires the x(1 x), perhaps at different sample points. We could easily end up writing the expression x(1 x) several times. As long as f = x(1 x), the repetitions don t seem like much of a problem. Suppose now that we have to replace x(1 x) by a complex expression requiring many lines of code. For instance, f may have a piecewise definition with 10 different pieces. Now the problem of repetitions is much more severe. Not only is there more typing, but each time we type a new copy there is a chance of making an error. Suppose the function needs to be changed. Then we have to track down each place that it occurs, and make sure the changes are identical. This situation quickly becomes a maintainence nightmare. The solution is to use a function subprogram. This is a separate piece of code, kept (in Matlab) in a separate file. Every time the main program needs to evaluate x(1 x) we send a message to the function, which sends back the desired value. If we have to make changes, or keep several copies of different functions, the typing of changes is minimized, and the changes that do occur do not effect the integrity of the rest of the program. It is hard to overstate the importance of using functions to organize programs. The programs we have seen so far are tiny, with a transparent organization. Out in the real world, programs frequently have hundreds of thousands or millions of instructions. It is generally impossible to understand what the software is doing, get it to function correctly, or maintain it as it goes through revisions, unless it is carefully decomposed into easily understood (and well documented) functions. There are various rules for writing functions. In Matlab, functions should be in a file whose name matches the function name. As you can see from the example following the main program 4, the first line announces that this is a function, and identifies the variable which will be output, y, and names the input x. (These names are arbitrary.) After handling these preliminaries, we simply write instructions to find y as a function of x. In this example, the original function x(1 x) has been modified for values of x when the original function is negative.
13 3.4. PROGRAM 4 - FUNCTION DEFINITION Program 4 - function definition function [y] = Myfunction1(x); % This file defines a function for use with % Euler s method for solving initial value problems y = x*(1-x); if y < 0 y = 0; end if y > 1 y = 1; end
14 36 CHAPTER 3. EULER S METHOD AND FUNCTIONS 3.5 Exercises 1. Modify program 3 so you can find the error in computing e using Euler s method on the interval [0, 1] using N steps. Discuss your results. Approximately how many steps will be required to calculate e by this method with an error smaller than 10 12? Why isn t this a practical method? 2. One way to assess the accuracy of an algorithm like Euler s method is to increase the number of steps N and see how much the solution changes. The usual assumption is that the error in computation with the smaller number of steps is approximately the difference between the two solutions. That is, the case with larger N is treated as if it were the exact solution. Rewrite program 2 so that it solves the same problem with N = 10, N = 100, and N = 1000 steps. Evaluate the differences both numerically and graphically. When N is changed, the value of h will also change. Modify the code so that h is automatically computed based on N. Hand in the code for this problem. The graphical evaluation should show all three plots on the same graph. Estimate the largest error made for each value of N. 3. Our Euler s method code is a bit sloppy in its handling of sample points. Recall that the array value T(n) corresponds to the sample point t n 1. Typically, we would really like sample points t 0,...,t N and sample values x 0,...,x N. The code is actually computing x 0,...,x N 1. Repair the code so that this defect is corrected. Describe your correction, and how you checked it.
Scientific Programming
1 The wave equation Scientific Programming Wave Equation The wave equation describes how waves propagate: light waves, sound waves, oscillating strings, wave in a pond,... Suppose that the function h(x,t)
Objectives. Materials
Activity 4 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 ways
Lecture 2 Mathcad Basics
Operators Lecture 2 Mathcad Basics + Addition, - Subtraction, * Multiplication, / Division, ^ Power ( ) Specify evaluation order Order of Operations ( ) ^ highest level, first priority * / next priority
By Clicking on the Worksheet you are in an active Math Region. In order to insert a text region either go to INSERT -TEXT REGION or simply
Introduction and Basics Tet Regions By Clicking on the Worksheet you are in an active Math Region In order to insert a tet region either go to INSERT -TEXT REGION or simply start typing --the first time
1.7 Graphs of Functions
64 Relations and Functions 1.7 Graphs of Functions In Section 1.4 we defined a function as a special type of relation; one in which each x-coordinate was matched with only one y-coordinate. We spent most
Beginner s Matlab Tutorial
Christopher Lum [email protected] Introduction Beginner s Matlab Tutorial This document is designed to act as a tutorial for an individual who has had no prior experience with Matlab. For any questions
Student Performance Q&A:
Student Performance Q&A: 2008 AP Calculus AB and Calculus BC Free-Response Questions The following comments on the 2008 free-response questions for AP Calculus AB and Calculus BC were written by the Chief
Temperature Scales. The metric system that we are now using includes a unit that is specific for the representation of measured temperatures.
Temperature Scales INTRODUCTION The metric system that we are now using includes a unit that is specific for the representation of measured temperatures. The unit of temperature in the metric system is
AMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables
AMATH 352 Lecture 3 MATLAB Tutorial MATLAB (short for MATrix LABoratory) is a very useful piece of software for numerical analysis. It provides an environment for computation and the visualization. Learning
Curve Fitting, Loglog Plots, and Semilog Plots 1
Curve Fitting, Loglog Plots, and Semilog Plots 1 In this MATLAB exercise, you will learn how to plot data and how to fit lines to your data. Suppose you are measuring the height h of a seedling as it grows.
Updates to Graphing with Excel
Updates to Graphing with Excel NCC has recently upgraded to a new version of the Microsoft Office suite of programs. As such, many of the directions in the Biology Student Handbook for how to graph with
Cooling and Euler's Method
Lesson 2: Cooling and Euler's Method 2.1 Applied Problem. Heat transfer in a mass is very important for a number of objects such as cooling of electronic parts or the fabrication of large beams. Although
Overview. Observations. Activities. Chapter 3: Linear Functions Linear Functions: Slope-Intercept Form
Name Date Linear Functions: Slope-Intercept Form Student Worksheet Overview The Overview introduces the topics covered in Observations and Activities. Scroll through the Overview using " (! to review,
List the elements of the given set that are natural numbers, integers, rational numbers, and irrational numbers. (Enter your answers as commaseparated
MATH 142 Review #1 (4717995) Question 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Description This is the review for Exam #1. Please work as many problems as possible
https://williamshartunionca.springboardonline.org/ebook/book/27e8f1b87a1c4555a1212b...
of 19 9/2/2014 12:09 PM Answers Teacher Copy Plan Pacing: 1 class period Chunking the Lesson Example A #1 Example B Example C #2 Check Your Understanding Lesson Practice Teach Bell-Ringer Activity Students
Because the slope is, a slope of 5 would mean that for every 1cm increase in diameter, the circumference would increase by 5cm.
Measurement Lab You will be graphing circumference (cm) vs. diameter (cm) for several different circular objects, and finding the slope of the line of best fit using the CapStone program. Write out or
Elements of a graph. Click on the links below to jump directly to the relevant section
Click on the links below to jump directly to the relevant section Elements of a graph Linear equations and their graphs What is slope? Slope and y-intercept in the equation of a line Comparing lines on
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
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
Worksheet 1. What You Need to Know About Motion Along the x-axis (Part 1)
Worksheet 1. What You Need to Know About Motion Along the x-axis (Part 1) In discussing motion, there are three closely related concepts that you need to keep straight. These are: If x(t) represents the
AP Physics 1 and 2 Lab Investigations
AP Physics 1 and 2 Lab Investigations Student Guide to Data Analysis New York, NY. College Board, Advanced Placement, Advanced Placement Program, AP, AP Central, and the acorn logo are registered trademarks
3. Mathematical Induction
3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)
2.2 Derivative as a Function
2.2 Derivative as a Function Recall that we defined the derivative as f (a) = lim h 0 f(a + h) f(a) h But since a is really just an arbitrary number that represents an x-value, why don t we just use x
the points are called control points approximating curve
Chapter 4 Spline Curves A spline curve is a mathematical representation for which it is easy to build an interface that will allow a user to design and control the shape of complex curves and surfaces.
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
Review of Fundamental Mathematics
Review of Fundamental Mathematics As explained in the Preface and in Chapter 1 of your textbook, managerial economics applies microeconomic theory to business decision making. The decision-making tools
Graphing calculators Transparencies (optional)
What if it is in pieces? Piecewise Functions and an Intuitive Idea of Continuity Teacher Version Lesson Objective: Length of Activity: Students will: Recognize piecewise functions and the notation used
Acquisition Lesson Planning Form Key Standards addressed in this Lesson: MM2A2c Time allotted for this Lesson: 5 Hours
Acquisition Lesson Planning Form Key Standards addressed in this Lesson: MM2A2c Time allotted for this Lesson: 5 Hours Essential Question: LESSON 2 Absolute Value Equations and Inequalities How do you
Excel -- Creating Charts
Excel -- Creating Charts The saying goes, A picture is worth a thousand words, and so true. Professional looking charts give visual enhancement to your statistics, fiscal reports or presentation. Excel
F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions
F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions Analyze functions using different representations. 7. Graph functions expressed
1 Error in Euler s Method
1 Error in Euler s Method Experience with Euler s 1 method raises some interesting questions about numerical approximations for the solutions of differential equations. 1. What determines the amount of
Math 120 Final Exam Practice Problems, Form: A
Math 120 Final Exam Practice Problems, Form: A Name: While every attempt was made to be complete in the types of problems given below, we make no guarantees about the completeness of the problems. Specifically,
Worksheet for Exploration 2.1: Compare Position vs. Time and Velocity vs. Time Graphs
Worksheet for Exploration 2.1: Compare Position vs. Time and Velocity vs. Time Graphs Shown are three different animations, each with three toy monster trucks moving to the right. Two ways to describe
Numerical Methods for Differential Equations
1 Numerical Methods for Differential Equations 1 2 NUMERICAL METHODS FOR DIFFERENTIAL EQUATIONS Introduction Differential equations can describe nearly all systems undergoing change. They are ubiquitous
Computational Mathematics with Python
Computational Mathematics with Python Basics Claus Führer, Jan Erik Solem, Olivier Verdier Spring 2010 Claus Führer, Jan Erik Solem, Olivier Verdier Computational Mathematics with Python Spring 2010 1
Graphic Designing with Transformed Functions
Name Class The teacher will display the completed example to the right as an example to re-create. Work to make the image of the letter M on your handheld. Transformations of parabolas, domain restrictions,
Absolute Value Equations and Inequalities
. Absolute Value Equations and Inequalities. OBJECTIVES 1. Solve an absolute value equation in one variable. Solve an absolute value inequality in one variable NOTE Technically we mean the distance between
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: [
Computational Mathematics with Python
Boolean Arrays Classes Computational Mathematics with Python Basics Olivier Verdier and Claus Führer 2009-03-24 Olivier Verdier and Claus Führer Computational Mathematics with Python 2009-03-24 1 / 40
AP CALCULUS AB 2007 SCORING GUIDELINES (Form B)
AP CALCULUS AB 2007 SCORING GUIDELINES (Form B) Question 4 Let f be a function defined on the closed interval 5 x 5 with f ( 1) = 3. The graph of f, the derivative of f, consists of two semicircles and
2.1 Increasing, Decreasing, and Piecewise Functions; Applications
2.1 Increasing, Decreasing, and Piecewise Functions; Applications Graph functions, looking for intervals on which the function is increasing, decreasing, or constant, and estimate relative maxima and minima.
In following this handout, sketch appropriate graphs in the space provided.
Dr. McGahagan Graphs and microeconomics You will see a remarkable number of graphs on the blackboard and in the text in this course. You will see a fair number on examinations as well, and many exam questions,
A Determination of g, the Acceleration Due to Gravity, from Newton's Laws of Motion
A Determination of g, the Acceleration Due to Gravity, from Newton's Laws of Motion Objective In the experiment you will determine the cart acceleration, a, and the friction force, f, experimentally for
Week 1: Functions and Equations
Week 1: Functions and Equations Goals: Review functions Introduce modeling using linear and quadratic functions Solving equations and systems Suggested Textbook Readings: Chapter 2: 2.1-2.2, and Chapter
Sample Fraction Addition and Subtraction Concepts Activities 1 3
Sample Fraction Addition and Subtraction Concepts Activities 1 3 College- and Career-Ready Standard Addressed: Build fractions from unit fractions by applying and extending previous understandings of operations
1 The Brownian bridge construction
The Brownian bridge construction The Brownian bridge construction is a way to build a Brownian motion path by successively adding finer scale detail. This construction leads to a relatively easy proof
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
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
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
Linear and quadratic Taylor polynomials for functions of several variables.
ams/econ 11b supplementary notes ucsc Linear quadratic Taylor polynomials for functions of several variables. c 010, Yonatan Katznelson Finding the extreme (minimum or maximum) values of a function, is
Graphing Quadratic Functions
Problem 1 The Parabola Examine the data in L 1 and L to the right. Let L 1 be the x- value and L be the y-values for a graph. 1. How are the x and y-values related? What pattern do you see? To enter the
TImath.com Algebra 1. Absolutely!
Absolutely! ID: 8791 Time required 45 minutes Activity Overview In this activity, students first solve linear absolute value equations in a single variable using the definition of absolute value to write
Part 1: Background - Graphing
Department of Physics and Geology Graphing Astronomy 1401 Equipment Needed Qty Computer with Data Studio Software 1 1.1 Graphing Part 1: Background - Graphing In science it is very important to find and
Natural cubic splines
Natural cubic splines Arne Morten Kvarving Department of Mathematical Sciences Norwegian University of Science and Technology October 21 2008 Motivation We are given a large dataset, i.e. a function sampled
Nonlinear Algebraic Equations. Lectures INF2320 p. 1/88
Nonlinear Algebraic Equations Lectures INF2320 p. 1/88 Lectures INF2320 p. 2/88 Nonlinear algebraic equations When solving the system u (t) = g(u), u(0) = u 0, (1) with an implicit Euler scheme we have
EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.
EXCEL Tutorial: How to use EXCEL for Graphs and Calculations. Excel is powerful tool and can make your life easier if you are proficient in using it. You will need to use Excel to complete most of your
Homework 2 Solutions
Homework Solutions Igor Yanovsky Math 5B TA Section 5.3, Problem b: Use Taylor s method of order two to approximate the solution for the following initial-value problem: y = + t y, t 3, y =, with h = 0.5.
AP CALCULUS AB 2006 SCORING GUIDELINES (Form B) Question 4
AP CALCULUS AB 2006 SCORING GUIDELINES (Form B) Question 4 The rate, in calories per minute, at which a person using an exercise machine burns calories is modeled by the function 1 3 3 2 f. In the figure
Excel Basics By Tom Peters & Laura Spielman
Excel Basics By Tom Peters & Laura Spielman What is Excel? Microsoft Excel is a software program with spreadsheet format enabling the user to organize raw data, make tables and charts, graph and model
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
Computational Mathematics with Python
Numerical Analysis, Lund University, 2011 1 Computational Mathematics with Python Chapter 1: Basics Numerical Analysis, Lund University Claus Führer, Jan Erik Solem, Olivier Verdier, Tony Stillfjord Spring
Doing Multiple Regression with SPSS. In this case, we are interested in the Analyze options so we choose that menu. If gives us a number of choices:
Doing Multiple Regression with SPSS Multiple Regression for Data Already in Data Editor Next we want to specify a multiple regression analysis for these data. The menu bar for SPSS offers several options:
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
9. Momentum and Collisions in One Dimension*
9. Momentum and Collisions in One Dimension* The motion of objects in collision is difficult to analyze with force concepts or conservation of energy alone. When two objects collide, Newton s third law
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
Definition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality.
8 Inequalities Concepts: Equivalent Inequalities Linear and Nonlinear Inequalities Absolute Value Inequalities (Sections 4.6 and 1.1) 8.1 Equivalent Inequalities Definition 8.1 Two inequalities are equivalent
Graphical Integration Exercises Part Four: Reverse Graphical Integration
D-4603 1 Graphical Integration Exercises Part Four: Reverse Graphical Integration Prepared for the MIT System Dynamics in Education Project Under the Supervision of Dr. Jay W. Forrester by Laughton Stanley
EL-9650/9600c/9450/9400 Handbook Vol. 1
Graphing Calculator EL-9650/9600c/9450/9400 Handbook Vol. Algebra EL-9650 EL-9450 Contents. Linear Equations - Slope and Intercept of Linear Equations -2 Parallel and Perpendicular Lines 2. Quadratic Equations
Linear Programming. March 14, 2014
Linear Programming March 1, 01 Parts of this introduction to linear programming were adapted from Chapter 9 of Introduction to Algorithms, Second Edition, by Cormen, Leiserson, Rivest and Stein [1]. 1
Fixed Point Theorems
Fixed Point Theorems Definition: Let X be a set and let T : X X be a function that maps X into itself. (Such a function is often called an operator, a transformation, or a transform on X, and the notation
In order to describe motion you need to describe the following properties.
Chapter 2 One Dimensional Kinematics How would you describe the following motion? Ex: random 1-D path speeding up and slowing down In order to describe motion you need to describe the following properties.
Calculus AB 2014 Scoring Guidelines
P Calculus B 014 Scoring Guidelines 014 The College Board. College Board, dvanced Placement Program, P, P Central, and the acorn logo are registered trademarks of the College Board. P Central is the official
Introduction to MATLAB IAP 2008
MIT OpenCourseWare http://ocw.mit.edu Introduction to MATLAB IAP 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. Introduction to Matlab Ideas for
Numerical Solution of Differential
Chapter 13 Numerical Solution of Differential Equations We have considered numerical solution procedures for two kinds of equations: In chapter 10 the unknown was a real number; in chapter 6 the unknown
Guide to Using the Ti-nspire for Methods - The simple and the overcomplicated Version 1.5
Guide to Using the Ti-nspire for Methods - The simple and the overcomplicated Version 1.5 Ok guys and girls, this is a guide/reference for using the Ti-nspire for Mathematical Methods CAS. It will cover
arxiv:1112.0829v1 [math.pr] 5 Dec 2011
How Not to Win a Million Dollars: A Counterexample to a Conjecture of L. Breiman Thomas P. Hayes arxiv:1112.0829v1 [math.pr] 5 Dec 2011 Abstract Consider a gambling game in which we are allowed to repeatedly
The Graphical Method: An Example
The Graphical Method: An Example Consider the following linear program: Maximize 4x 1 +3x 2 Subject to: 2x 1 +3x 2 6 (1) 3x 1 +2x 2 3 (2) 2x 2 5 (3) 2x 1 +x 2 4 (4) x 1, x 2 0, where, for ease of reference,
INTRUSION PREVENTION AND EXPERT SYSTEMS
INTRUSION PREVENTION AND EXPERT SYSTEMS By Avi Chesla [email protected] Introduction Over the past few years, the market has developed new expectations from the security industry, especially from the intrusion
Relationships Between Two Variables: Scatterplots and Correlation
Relationships Between Two Variables: Scatterplots and Correlation Example: Consider the population of cars manufactured in the U.S. What is the relationship (1) between engine size and horsepower? (2)
ECON 459 Game Theory. Lecture Notes Auctions. Luca Anderlini Spring 2015
ECON 459 Game Theory Lecture Notes Auctions Luca Anderlini Spring 2015 These notes have been used before. If you can still spot any errors or have any suggestions for improvement, please let me know. 1
VHDL Test Bench Tutorial
University of Pennsylvania Department of Electrical and Systems Engineering ESE171 - Digital Design Laboratory VHDL Test Bench Tutorial Purpose The goal of this tutorial is to demonstrate how to automate
PGR Computing Programming Skills
PGR Computing Programming Skills Dr. I. Hawke 2008 1 Introduction The purpose of computing is to do something faster, more efficiently and more reliably than you could as a human do it. One obvious point
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 =
Visualizing Differential Equations Slope Fields. by Lin McMullin
Visualizing Differential Equations Slope Fields by Lin McMullin The topic of slope fields is new to the AP Calculus AB Course Description for the 2004 exam. Where do slope fields come from? How should
Fractions as Numbers INTENSIVE INTERVENTION. National Center on. at American Institutes for Research
National Center on INTENSIVE INTERVENTION at American Institutes for Research Fractions as Numbers 000 Thomas Jefferson Street, NW Washington, DC 0007 E-mail: [email protected] While permission to reprint this
Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure
Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure Note: there is a second document that goes with this one! 2046 - Absorbance Spectrophotometry. Make sure you
440 Geophysics: Heat flow with finite differences
440 Geophysics: Heat flow with finite differences Thorsten Becker, University of Southern California, 03/2005 Some physical problems, such as heat flow, can be tricky or impossible to solve analytically
Lab 4.4 Secret Messages: Indexing, Arrays, and Iteration
Lab 4.4 Secret Messages: Indexing, Arrays, and Iteration This JavaScript lab (the last of the series) focuses on indexing, arrays, and iteration, but it also provides another context for practicing with
Intermediate PowerPoint
Intermediate PowerPoint Charts and Templates By: Jim Waddell Last modified: January 2002 Topics to be covered: Creating Charts 2 Creating the chart. 2 Line Charts and Scatter Plots 4 Making a Line Chart.
Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities
Algebra 1, Quarter 2, Unit 2.1 Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities Overview Number of instructional days: 15 (1 day = 45 60 minutes) Content to be learned
Scientific Graphing in Excel 2010
Scientific Graphing in Excel 2010 When you start Excel, you will see the screen below. Various parts of the display are labelled in red, with arrows, to define the terms used in the remainder of this overview.
Introduction to Matrices
Introduction to Matrices Tom Davis tomrdavis@earthlinknet 1 Definitions A matrix (plural: matrices) is simply a rectangular array of things For now, we ll assume the things are numbers, but as you go on
Graphing in excel on the Mac
Graphing in excel on the Mac Quick Reference for people who just need a reminder The easiest thing is to have a single series, with y data in the column to the left of the x- data. Select the data and
1 Review of Newton Polynomials
cs: introduction to numerical analysis 0/0/0 Lecture 8: Polynomial Interpolation: Using Newton Polynomials and Error Analysis Instructor: Professor Amos Ron Scribes: Giordano Fusco, Mark Cowlishaw, Nathanael
Questions: Does it always take the same amount of force to lift a load? Where should you press to lift a load with the least amount of force?
Lifting A Load 1 NAME LIFTING A LOAD Questions: Does it always take the same amount of force to lift a load? Where should you press to lift a load with the least amount of force? Background Information:
Representation of functions as power series
Representation of functions as power series Dr. Philippe B. Laval Kennesaw State University November 9, 008 Abstract This document is a summary of the theory and techniques used to represent functions
Hypothesis testing. c 2014, Jeffrey S. Simonoff 1
Hypothesis testing So far, we ve talked about inference from the point of estimation. We ve tried to answer questions like What is a good estimate for a typical value? or How much variability is there
EdExcel Decision Mathematics 1
EdExcel Decision Mathematics 1 Linear Programming Section 1: Formulating and solving graphically Notes and Examples These notes contain subsections on: Formulating LP problems Solving LP problems Minimisation
Calculator Notes for the TI-Nspire and TI-Nspire CAS
CHAPTER 4 Calculator Notes for the Note 4A: Function Notation The handheld uses function notation automatically. You can define a function in the Calculator, Graphs & Geometry, and Data & Statistics applications.
SDC. Schroff Development Corporation WWW.SDCACAD.COM PUBLICATIONS. MultiMedia CD by Jack Zecher
MultiMedia CD by Jack Zecher An audioi/visual presentation of the tutorial exercises SDC PUBLICATIONS Schroff Development Corporation WWW.SDCACAD.COM AutoCAD 2002 Tutorial 2-1 Lesson 2 Geometric Construction
