Practice Exam 2 (Solutions)

Size: px
Start display at page:

Download "Practice Exam 2 (Solutions)"

Transcription

1 Math 5, Fall 7 Practice Exam (Solutions). Using the points f(x), f(x h) and f(x + h) we want to derive an approximation f (x) a f(x) + a f(x h) + a f(x + h). (a) Write the linear system that you must solve to find the coefficients {a k } (do not solve). (b) If the solution to this system is a =, a h =, a h =, write the approximation h formula for f (x). (c) What is the order of accuracy for this approximation (e.g. O(h 8 )) (a) We have coefficients, so we ll write out the first 5 terms in each Taylor series, f(x) = f(x) f(x h) = f(x) hf (x) + h f (x) h f (x) + h f () (x) + O ( h 5) f(x + h) = f(x) + hf (x) + 9h f (x) + 7h f (x) + 8h f () (x) + O ( h 5). Combining these with our a coefficients, we have a f(x) + a f(x h) + a f(x + h) = f(x) [a + a + a ] + hf (x) [ a + a ] + h f (x) [a + 9a ] + h f (x) [ a + 7a ] + h f () (x) [a + 8a ] + O ( h 5). We have coefficients, and we are trying to compute f (x), so to find our coefficients we would solve the equations a + a + a = a a + a = a = a + 9a = 9 a h h (b) With those coefficients, we would plug them into our original approximation formula to obtain f (x) h f(x) + f(x h) + f(x + h). h h

2 (c) We analyze the left-over terms in our linear combination above: h f (x) [ a + 7a ] + h f () (x) [a + 8a ] + O ( h 5) [ h + 7 ] [ h + h f () (x) h + 8 h = h f (x) = h f (x) + 7h f () (x) + O ( h 5) = O(h). ] + O ( h 5). Let f(x) = x x + x (a) Evaluate f(), f(), f(), f() and f(). (b) Approximate f(x) dx using the composite midpoint rule with subintervals. What is (c) Approximate f(x) dx using the composite trapezoid rule with subintervals. What is (d) Approximate f(x) dx using the composite Simpson s rule with subintervals. What is (a) (b) The true integral is f() = () () + () =, f() = () () + () = + =, f() = () () + () = 8 + =, f() = () () + () = =, f() = () () + () = =. (x x + x ) dx = ( ) x x + x x = + =. The composite midpoint rule for this integral with two subintervals is f(x) dx = f(x) dx + Hence the relative error is =. f(x) dx f() + f() = ( ) + () =.

3 (c) The composite trapezoid rule for this integral with two subintervals is f(x) dx+ f(x) dx [f() + f()]+ [f() + f()] = + = Hence the relative error is =. (d) The composite Simpson s rule for this integral with two subintervals is f(x) dx + f(x) dx [f() + f() + f()] + [f() + f() + f()] = [ + ( ) + () + ] = [] = Hence the relative error is =.

4 . Suppose that you want to approximate the integral dx + x using the composite Midpoint and composite Simpson rules over a uniform partition, = x < x <... < x n =, Imp(f) c and IS c (f). Write formulas for the minimum number of subintervals required for each method to guarantee an error below 8. [i.e. formulas of the form n >... ] We begin by writing down the error formulas for the composite Midpoint and composite Simpson rules (I ll use the version from our lecture notes, since in both cases h = (b a)/n): I(f) I c mp(f) = (b a)mh, M = max f (x), x [a,b] I(f) IS(f) c (b a) Mh =, M = max 88 f (x). x [a,b] In both cases, (b a) = ( ( )) = and h = (b a)/n = /n. So in order to proceed, we must compute both M and M. Let s start by taking the requisite derivatives of our integrand, f(x) = ( + x) : f (x) = ( + x) = ( + x), f (x) = ( + x) = f (x) = ( + x) = ( + x), f (x) = ( + x) 5 = ( + x), ( + x) 5. The absolute value of each of these will be maximized over x [, ] when the denominator is closest to zero, i.e., at x =, hence we have M = max x [,] ( + x) = ( ) =, M = max x [,] ( + x) 5 = ( ) 5 =. Inserting our values for (b a), M and M, and our formula for h, into the composite error formulas, we have I(f) I c mp(f) = ()()( ) n = n, I(f) I c S(f) = ()()( ) 88n = 5n. Our goal is for these to be below 8. Hence for the composite mipoint method, we need ( ) n < 8 / 8 8 < n n >. Similarly, for the composite Simpson method, we need 5n < < n n > ( ) 8 /. 5

5 . Consider the quadrature rule f(x) dx ( 5 f ) + ( ) 5 f. (a) What is the degree of precision of this method (b) What is corresponding order of accuracy when this is applied in a composite rule where each subinterval has width h (c) Use this method to approximate the integral x + dx. (a) We compare the quadrature rule against the analytical integrals of the functions f {, x, x, x,... }, until these first disagree: = = = dx x dx x dx = ( ) ) + = ( 5 = ( 5 ) + 5 Hence the degree of precision for the method is. ( ) = =, ( ) = =, ( ) = = X. (b) Based on Theorem..8 from our class lecture notes, the composite method based on this approximation will have error O ( h ). (c) In order to apply our approximation method, that is defined for the integration interval [, ], to the requested integral over the interval [, ], we must first use the change of variables, b a f(x) dx = b a f ( b a y + a + b ) dy, to convert the problem to the correct interval. For this problem, we have [a, b] = [, ], so (b a) =, (b a)/ = and (a + b)/ =, so x + dx = f (y + ) dy = We may now apply our approximation formula: y + 8 dy ( ) + ( ) = = 5. y + + dy = = 5 ( ) y + 8 dy. ( ) 5

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 16. f(x) dx,

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 16. f(x) dx, Panel integration Week 12: Monday, Apr 16 Suppose we want to compute the integral b a f(x) dx In estimating a derivative, it makes sense to use a locally accurate approximation to the function around the

More information

Math 42: Fall 2015 Midterm 2 November 3, 2015

Math 42: Fall 2015 Midterm 2 November 3, 2015 Math 4: Fall 5 Midterm November 3, 5 NAME: Solutions Time: 8 minutes For each problem, you should write down all of your work carefully and legibly to receive full credit When asked to justify your answer,

More information

APPM/MATH Problem Set 6 Solutions

APPM/MATH Problem Set 6 Solutions APPM/MATH 460 Problem Set 6 Solutions This assignment is due by 4pm on Wednesday, November 6th You may either turn it in to me in class or in the box outside my office door (ECOT ) Minimal credit will

More information

8.3 Numerical Quadrature, Continued

8.3 Numerical Quadrature, Continued 8.3 Numerical Quadrature, Continued Ulrich Hoensch Friday, October 31, 008 Newton-Cotes Quadrature General Idea: to approximate the integral I (f ) of a function f : [a, b] R, use equally spaced nodes

More information

Math 122 Fall Unit Test 1 Review Problems Set A

Math 122 Fall Unit Test 1 Review Problems Set A Math Fall 8 Unit Test Review Problems Set A We have chosen these problems because we think that they are representative of many of the mathematical concepts that we have studied. There is no guarantee

More information

Chapter 8: Techniques of Integration

Chapter 8: Techniques of Integration Chapter 8: Techniques of Integration Section 8.1 Integral Tables and Review a. Important Integrals b. Example c. Integral Tables Section 8.2 Integration by Parts a. Formulas for Integration by Parts b.

More information

5 Numerical Integration & Dierentiation

5 Numerical Integration & Dierentiation 5 Numerical Integration & Dierentiation Department of Mathematics & Statistics ASU Outline of Chapter 5 1 The Trapezoidal and Simpson Rules 2 Error Formulas 3 Gaussian Numerical Integration 4 Numerical

More information

April 15 Math 2335 sec 001 Spring 2014

April 15 Math 2335 sec 001 Spring 2014 April 15 Math 2335 sec 001 Spring 2014 Trapezoid and Simpson s Rules I(f ) = b a f (x) dx Trapezoid Rule: If [a, b] is divided into n equally spaced subintervals of length h = (b a)/n, then I(f ) T n (f

More information

MATH 1242 FINAL EXAM Spring,

MATH 1242 FINAL EXAM Spring, MATH 242 FINAL EXAM Spring, 200 Part I (MULTIPLE CHOICE, NO CALCULATORS).. Find 2 4x3 dx. (a) 28 (b) 5 (c) 0 (d) 36 (e) 7 2. Find 2 cos t dt. (a) 2 sin t + C (b) 2 sin t + C (c) 2 cos t + C (d) 2 cos t

More information

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam Jim Lambers MAT 460/560 Fall Semester 2009-10 Practice Final Exam 1. Let f(x) = sin 2x + cos 2x. (a) Write down the 2nd Taylor polynomial P 2 (x) of f(x) centered around x 0 = 0. (b) Write down the corresponding

More information

Integration, differentiation, and root finding. Phys 420/580 Lecture 7

Integration, differentiation, and root finding. Phys 420/580 Lecture 7 Integration, differentiation, and root finding Phys 420/580 Lecture 7 Numerical integration Compute an approximation to the definite integral I = b Find area under the curve in the interval Trapezoid Rule:

More information

Numerical Integration

Numerical Integration Numerical Integration Sanzheng Qiao Department of Computing and Software McMaster University February, 2014 Outline 1 Introduction 2 Rectangle Rule 3 Trapezoid Rule 4 Error Estimates 5 Simpson s Rule 6

More information

Math 181, Exam 2, Study Guide 2 Problem 1 Solution. 1 + dx. 1 + (cos x)2 dx. 1 + cos2 xdx. = π ( 1 + cos π 2

Math 181, Exam 2, Study Guide 2 Problem 1 Solution. 1 + dx. 1 + (cos x)2 dx. 1 + cos2 xdx. = π ( 1 + cos π 2 Math 8, Exam, Study Guide Problem Solution. Use the trapezoid rule with n to estimate the arc-length of the curve y sin x between x and x π. Solution: The arclength is: L b a π π + ( ) dy + (cos x) + cos

More information

Math 106: Review for Final Exam, Part II - SOLUTIONS. (x x 0 ) 2 = !

Math 106: Review for Final Exam, Part II - SOLUTIONS. (x x 0 ) 2 = ! Math 06: Review for Final Exam, Part II - SOLUTIONS. Use a second-degree Taylor polynomial to estimate 8. We choose f(x) x and x 0 7 because 7 is the perfect cube closest to 8. f(x) x /3 f(7) 3 f (x) 3

More information

4.9 APPROXIMATING DEFINITE INTEGRALS

4.9 APPROXIMATING DEFINITE INTEGRALS 4.9 Approximating Definite Integrals Contemporary Calculus 4.9 APPROXIMATING DEFINITE INTEGRALS The Fundamental Theorem of Calculus tells how to calculate the exact value of a definite integral IF the

More information

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker.

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker. Integration Topic: Trapezoidal Rule Major: General Engineering Author: Autar Kaw, Charlie Barker 1 What is Integration Integration: The process of measuring the area under a function plotted on a graph.

More information

Math 1132 Practice Exam 1 Spring 2016

Math 1132 Practice Exam 1 Spring 2016 University of Connecticut Department of Mathematics Math 32 Practice Exam Spring 206 Name: Instructor Name: TA Name: Section: Discussion Section: Read This First! Please read each question carefully. Show

More information

MATH 1014 Tutorial Notes 8

MATH 1014 Tutorial Notes 8 MATH4 Calculus II (8 Spring) Topics covered in tutorial 8:. Numerical integration. Approximation integration What you need to know: Midpoint rule & its error Trapezoid rule & its error Simpson s rule &

More information

Distance and Velocity

Distance and Velocity Distance and Velocity - Unit #8 : Goals: The Integral Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite integral and

More information

f(x) g(x) = [f (x)g(x) dx + f(x)g (x)dx

f(x) g(x) = [f (x)g(x) dx + f(x)g (x)dx Chapter 7 is concerned with all the integrals that can t be evaluated with simple antidifferentiation. Chart of Integrals on Page 463 7.1 Integration by Parts Like with the Chain Rule substitutions with

More information

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn Review Taylor Series and Error Analysis Roots of Equations Linear Algebraic Equations Optimization Numerical Differentiation and Integration Ordinary Differential Equations Partial Differential Equations

More information

Numerical Methods. King Saud University

Numerical Methods. King Saud University Numerical Methods King Saud University Aims In this lecture, we will... find the approximate solutions of derivative (first- and second-order) and antiderivative (definite integral only). Numerical Differentiation

More information

Questions from Larson Chapter 4 Topics. 5. Evaluate

Questions from Larson Chapter 4 Topics. 5. Evaluate Math. Questions from Larson Chapter 4 Topics I. Antiderivatives. Evaluate the following integrals. (a) x dx (4x 7) dx (x )(x + x ) dx x. A projectile is launched vertically with an initial velocity of

More information

Consistency and Convergence

Consistency and Convergence Jim Lambers MAT 77 Fall Semester 010-11 Lecture 0 Notes These notes correspond to Sections 1.3, 1.4 and 1.5 in the text. Consistency and Convergence We have learned that the numerical solution obtained

More information

8.4 Integration of Rational Functions by Partial Fractions Lets use the following example as motivation: Ex: Consider I = x+5

8.4 Integration of Rational Functions by Partial Fractions Lets use the following example as motivation: Ex: Consider I = x+5 Math 2-08 Rahman Week6 8.4 Integration of Rational Functions by Partial Fractions Lets use the following eample as motivation: E: Consider I = +5 2 + 2 d. Solution: Notice we can easily factor the denominator

More information

Math Practice Exam 2 - solutions

Math Practice Exam 2 - solutions C Roettger, Fall 205 Math 66 - Practice Exam 2 - solutions State clearly what your result is. Show your work (in particular, integrand and limits of integrals, all substitutions, names of tests used, with

More information

Chapter 4 Integration

Chapter 4 Integration Chapter 4 Integration SECTION 4.1 Antiderivatives and Indefinite Integration Calculus: Chapter 4 Section 4.1 Antiderivative A function F is an antiderivative of f on an interval I if F '( x) f ( x) for

More information

1.8. Integration using Tables and CAS

1.8. Integration using Tables and CAS 1.. INTEGRATION USING TABLES AND CAS 39 1.. Integration using Tables and CAS The use of tables of integrals and Computer Algebra Systems allow us to find integrals very quickly without having to perform

More information

X. Numerical Methods

X. Numerical Methods X. Numerical Methods. Taylor Approximation Suppose that f is a function defined in a neighborhood of a point c, and suppose that f has derivatives of all orders near c. In section 5 of chapter 9 we introduced

More information

2015 Math Camp Calculus Exam Solution

2015 Math Camp Calculus Exam Solution 015 Math Camp Calculus Exam Solution Problem 1: x = x x +5 4+5 = 9 = 3 1. lim We also accepted ±3, even though it is not according to the prevailing convention 1. x x 4 x+4 =. lim 4 4+4 = 4 0 = 4 0 = We

More information

Department of Applied Mathematics and Theoretical Physics. AMA 204 Numerical analysis. Exam Winter 2004

Department of Applied Mathematics and Theoretical Physics. AMA 204 Numerical analysis. Exam Winter 2004 Department of Applied Mathematics and Theoretical Physics AMA 204 Numerical analysis Exam Winter 2004 The best six answers will be credited All questions carry equal marks Answer all parts of each question

More information

MA 3021: Numerical Analysis I Numerical Differentiation and Integration

MA 3021: Numerical Analysis I Numerical Differentiation and Integration MA 3021: Numerical Analysis I Numerical Differentiation and Integration Suh-Yuh Yang ( 楊肅煜 ) Department of Mathematics, National Central University Jhongli District, Taoyuan City 32001, Taiwan syyang@math.ncu.edu.tw

More information

Day 2 Notes: Riemann Sums In calculus, the result of f ( x)

Day 2 Notes: Riemann Sums In calculus, the result of f ( x) AP Calculus Unit 6 Basic Integration & Applications Day 2 Notes: Riemann Sums In calculus, the result of f ( x) dx is a function that represents the anti-derivative of the function f(x). This is also sometimes

More information

To find an approximate value of the integral, the idea is to replace, on each subinterval

To find an approximate value of the integral, the idea is to replace, on each subinterval Module 6 : Definition of Integral Lecture 18 : Approximating Integral : Trapezoidal Rule [Section 181] Objectives In this section you will learn the following : Mid point and the Trapezoidal methods for

More information

you expect to encounter difficulties when trying to solve A x = b? 4. A composite quadrature rule has error associated with it in the following form

you expect to encounter difficulties when trying to solve A x = b? 4. A composite quadrature rule has error associated with it in the following form Qualifying exam for numerical analysis (Spring 2017) Show your work for full credit. If you are unable to solve some part, attempt the subsequent parts. 1. Consider the following finite difference: f (0)

More information

Ordinary Differential Equations II

Ordinary Differential Equations II Ordinary Differential Equations II CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Justin Solomon CS 205A: Mathematical Methods Ordinary Differential Equations II 1 / 33 Almost Done! Last

More information

Numerical Analysis Exam with Solutions

Numerical Analysis Exam with Solutions Numerical Analysis Exam with Solutions Richard T. Bumby Fall 000 June 13, 001 You are expected to have books, notes and calculators available, but computers of telephones are not to be used during the

More information

Math 181, Exam 1, Study Guide 2 Problem 1 Solution. =[17ln 5 +3(5)] [17 ln 1 +3(1)] =17ln = 17ln5+12

Math 181, Exam 1, Study Guide 2 Problem 1 Solution. =[17ln 5 +3(5)] [17 ln 1 +3(1)] =17ln = 17ln5+12 Math 8, Exam, Study Guide Problem Solution. Compute the definite integral: 5 ( ) 7 x +3 dx Solution: UsingtheFundamentalTheoremofCalculusPartI,thevalueof the integral is: 5 ( ) 7 [ ] 5 x +3 dx = 7 ln x

More information

Worksheet 9. Topics: Taylor series; using Taylor polynomials for approximate computations. Polar coordinates.

Worksheet 9. Topics: Taylor series; using Taylor polynomials for approximate computations. Polar coordinates. ATH 57H Spring 0 Worksheet 9 Topics: Taylor series; using Taylor polynomials for approximate computations. Polar coordinates.. Let f(x) = +x. Find f (00) (0) - the 00th derivative of f at point x = 0.

More information

ECE5340/6340: Homework 4 ANSWER KEY

ECE5340/6340: Homework 4 ANSWER KEY ECE5340/6340: Homework 4 ANSWER KEY Department of Electrical and Computer Engineering University of Utah, Salt Lake City, Utah February 8, 01 1. Re-derive the error bound for the midpoint rule and show

More information

MATH 31B: MIDTERM 2 REVIEW. sin 2 x = 1 cos(2x) dx = x 2 sin(2x) 4. + C = x 2. dx = x sin(2x) + C = x sin x cos x

MATH 31B: MIDTERM 2 REVIEW. sin 2 x = 1 cos(2x) dx = x 2 sin(2x) 4. + C = x 2. dx = x sin(2x) + C = x sin x cos x MATH 3B: MIDTERM REVIEW JOE HUGHES. Evaluate sin x and cos x. Solution: Recall the identities cos x = + cos(x) Using these formulas gives cos(x) sin x =. Trigonometric Integrals = x sin(x) sin x = cos(x)

More information

x 2 y = 1 2. Problem 2. Compute the Taylor series (at the base point 0) for the function 1 (1 x) 3.

x 2 y = 1 2. Problem 2. Compute the Taylor series (at the base point 0) for the function 1 (1 x) 3. MATH 8.0 - FINAL EXAM - SOME REVIEW PROBLEMS WITH SOLUTIONS 8.0 Calculus, Fall 207 Professor: Jared Speck Problem. Consider the following curve in the plane: x 2 y = 2. Let a be a number. The portion of

More information

Final Exam 12/11/ (16 pts) Find derivatives for each of the following: (a) f(x) = 3 1+ x e + e π [Do not simplify your answer.

Final Exam 12/11/ (16 pts) Find derivatives for each of the following: (a) f(x) = 3 1+ x e + e π [Do not simplify your answer. Math 105 Final Exam 1/11/1 Name Read directions carefully and show all your work. Partial credit will be assigned based upon the correctness, completeness, and clarity of your answers. Correct answers

More information

Math 230 Mock Final Exam Detailed Solution

Math 230 Mock Final Exam Detailed Solution Name: Math 30 Mock Final Exam Detailed Solution Disclaimer: This mock exam is for practice purposes only. No graphing calulators TI-89 is allowed on this test. Be sure that all of your work is shown and

More information

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations ECE257 Numerical Methods and Scientific Computing Ordinary Differential Equations Today s s class: Stiffness Multistep Methods Stiff Equations Stiffness occurs in a problem where two or more independent

More information

Homework set #7 solutions, Math 128A J. Xia

Homework set #7 solutions, Math 128A J. Xia Homework set #7 solutions, Math 18A J. Xia Sec 4.4: 1a, a, 3a, 7abc, 17 1a. Compute by hand or use a program. Matlab code for the Composite Trapezoidal rule: function integral = cmptrap(a,b,n,f) h = (b-a)/n;

More information

THE UNIVERSITY OF BRITISH COLUMBIA Sample Questions for Midterm 1 - January 26, 2012 MATH 105 All Sections

THE UNIVERSITY OF BRITISH COLUMBIA Sample Questions for Midterm 1 - January 26, 2012 MATH 105 All Sections THE UNIVERSITY OF BRITISH COLUMBIA Sample Questions for Midterm 1 - January 26, 2012 MATH 105 All Sections Closed book examination Time: 50 minutes Last Name First Signature Student Number Special Instructions:

More information

The Intermediate Value Theorem If a function f (x) is continuous in the closed interval [ a,b] then [ ]

The Intermediate Value Theorem If a function f (x) is continuous in the closed interval [ a,b] then [ ] Lecture 4-6B1 Evaluating Limits Limits x ---> a The Intermediate Value Theorem If a function f (x) is continuous in the closed interval [ a,b] then [ ] the y values f (x) must take on every value on the

More information

Section 6.6 Gaussian Quadrature

Section 6.6 Gaussian Quadrature Section 6.6 Gaussian Quadrature Key Terms: Method of undetermined coefficients Nonlinear systems Gaussian quadrature Error Legendre polynomials Inner product Adapted from http://pathfinder.scar.utoronto.ca/~dyer/csca57/book_p/node44.html

More information

Integration - Past Edexcel Exam Questions

Integration - Past Edexcel Exam Questions Integration - Past Edexcel Exam Questions 1. (a) Given that y = 5x 2 + 7x + 3, find i. - ii. - (b) ( 1 + 3 ) x 1 x dx. [4] 2. Question 2b - January 2005 2. The gradient of the curve C is given by The point

More information

Spring 2017 Midterm 1 04/26/2017

Spring 2017 Midterm 1 04/26/2017 Math 2B Spring 2017 Midterm 1 04/26/2017 Time Limit: 50 Minutes Name (Print): Student ID This exam contains 10 pages (including this cover page) and 5 problems. Check to see if any pages are missing. Enter

More information

Warm up: Recall we can approximate R b

Warm up: Recall we can approximate R b Warm up: Recall we can approximate R b a f(x) dx using rectangles as follows: i. Pick a number n and divide [a, b] into n equal intervals. Note that x =(b a)/n is the length of each of these intervals.

More information

Euler s Method, cont d

Euler s Method, cont d Jim Lambers MAT 461/561 Spring Semester 009-10 Lecture 3 Notes These notes correspond to Sections 5. and 5.4 in the text. Euler s Method, cont d We conclude our discussion of Euler s method with an example

More information

Solutions to Exam 2, Math 10560

Solutions to Exam 2, Math 10560 Solutions to Exam, Math 6. Which of the following expressions gives the partial fraction decomposition of the function x + x + f(x = (x (x (x +? Solution: Notice that (x is not an irreducile factor. If

More information

MATH 2250 Exam 1 Solutions

MATH 2250 Exam 1 Solutions MATH 2250 Exam 1 Solutions Name Answer every question on the exam there is no penalty for guessing. Calculators and similar aids are not allowed. There are a total of 60 points possible: 20 in Part 1,

More information

1 Error Analysis for Solving IVP

1 Error Analysis for Solving IVP cs412: introduction to numerical analysis 12/9/10 Lecture 25: Numerical Solution of Differential Equations Error Analysis Instructor: Professor Amos Ron Scribes: Yunpeng Li, Mark Cowlishaw, Nathanael Fillmore

More information

In numerical analysis quadrature refers to the computation of definite integrals.

In numerical analysis quadrature refers to the computation of definite integrals. Numerical Quadrature In numerical analysis quadrature refers to the computation of definite integrals. f(x) a x i x i+1 x i+2 b x A traditional way to perform numerical integration is to take a piece of

More information

Math Real Analysis II

Math Real Analysis II Math 432 - Real Analysis II Solutions to Homework due February 3 In class, we learned that the n-th remainder for a smooth function f(x) defined on some open interval containing is given by f (k) () R

More information

We say that the function f obtains a maximum value provided that there. We say that the function f obtains a minimum value provided that there

We say that the function f obtains a maximum value provided that there. We say that the function f obtains a minimum value provided that there Math 311 W08 Day 10 Section 3.2 Extreme Value Theorem (It s EXTREME!) 1. Definition: For a function f: D R we define the image of the function to be the set f(d) = {y y = f(x) for some x in D} We say that

More information

1 Exam 1 Spring 2007.

1 Exam 1 Spring 2007. Exam Spring 2007.. An object is moving along a line. At each time t, its velocity v(t is given by v(t = t 2 2 t 3. Find the total distance traveled by the object from time t = to time t = 5. 2. Use the

More information

MATH 2300 review problems for Exam 1 ANSWERS

MATH 2300 review problems for Exam 1 ANSWERS MATH review problems for Exam ANSWERS. Evaluate the integral sin x cos x dx in each of the following ways: This one is self-explanatory; we leave it to you. (a) Integrate by parts, with u = sin x and dv

More information

Scientific Computing: Numerical Integration

Scientific Computing: Numerical Integration Scientific Computing: Numerical Integration Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 Course MATH-GA.2043 or CSCI-GA.2112, Fall 2015 Nov 5th, 2015 A. Donev (Courant Institute) Lecture

More information

MATH 19520/51 Class 11

MATH 19520/51 Class 11 MATH 1952/51 Class 11 Minh-Tam Trinh University of Chicago 217-1-23 1 Discuss the midterm. 2 Review Riemann sums for functions of one variable. 3 Riemann sums for multivariable functions. 4 Double integrals

More information

6 Lecture 6b: the Euler Maclaurin formula

6 Lecture 6b: the Euler Maclaurin formula Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Fall 217 Instructor: Dr. Sateesh Mane c Sateesh R. Mane 217 March 26, 218 6 Lecture 6b: the Euler Maclaurin formula

More information

Lecture 21: Numerical Solution of Differential Equations

Lecture 21: Numerical Solution of Differential Equations cs41: introduction to numerical analysis 11/30/10 Lecture 1: Numerical Solution of Differential Equations Instructor: Professor Amos Ron Scribes: Yunpeng Li, Mark Cowlishaw, Nathanael Fillmore 1 Introduction

More information

Applied Calculus I. Lecture 29

Applied Calculus I. Lecture 29 Applied Calculus I Lecture 29 Integrals of trigonometric functions We shall continue learning substitutions by considering integrals involving trigonometric functions. Integrals of trigonometric functions

More information

Math 112 Section 10 Lecture notes, 1/7/04

Math 112 Section 10 Lecture notes, 1/7/04 Math 11 Section 10 Lecture notes, 1/7/04 Section 7. Integration by parts To integrate the product of two functions, integration by parts is used when simpler methods such as substitution or simplifying

More information

Math 112 Rahman. Week Taylor Series Suppose the function f has the following power series:

Math 112 Rahman. Week Taylor Series Suppose the function f has the following power series: Math Rahman Week 0.8-0.0 Taylor Series Suppose the function f has the following power series: fx) c 0 + c x a) + c x a) + c 3 x a) 3 + c n x a) n. ) Can we figure out what the coefficients are? Yes, yes

More information

12.0 Properties of orthogonal polynomials

12.0 Properties of orthogonal polynomials 12.0 Properties of orthogonal polynomials In this section we study orthogonal polynomials to use them for the construction of quadrature formulas investigate projections on polynomial spaces and their

More information

Solutions to Exam 1, Math Solution. Because f(x) is one-to-one, we know the inverse function exists. Recall that (f 1 ) (a) =

Solutions to Exam 1, Math Solution. Because f(x) is one-to-one, we know the inverse function exists. Recall that (f 1 ) (a) = Solutions to Exam, Math 56 The function f(x) e x + x 3 + x is one-to-one (there is no need to check this) What is (f ) ( + e )? Solution Because f(x) is one-to-one, we know the inverse function exists

More information

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

CS 257: Numerical Methods

CS 257: Numerical Methods CS 57: Numerical Methods Final Exam Study Guide Version 1.00 Created by Charles Feng http://www.fenguin.net CS 57: Numerical Methods Final Exam Study Guide 1 Contents 1 Introductory Matter 3 1.1 Calculus

More information

4.3. Riemann Sums. Riemann Sums. Riemann Sums and Definite Integrals. Objectives

4.3. Riemann Sums. Riemann Sums. Riemann Sums and Definite Integrals. Objectives 4.3 Riemann Sums and Definite Integrals Objectives Understand the definition of a Riemann sum. Evaluate a definite integral using limits & Riemann Sums. Evaluate a definite integral using geometric formulas

More information

Essex County College Division of Mathematics MTH-122 Assessments. Honor Code

Essex County College Division of Mathematics MTH-122 Assessments. Honor Code Essex County College Division of Mathematics MTH-22 Assessments Last Name: First Name: Phone or email: Honor Code The Honor Code is a statement on academic integrity, it articulates reasonable expectations

More information

Calculus of Variations Summer Term 2014

Calculus of Variations Summer Term 2014 Calculus of Variations Summer Term 2014 Lecture 12 26. Juni 2014 c Daria Apushkinskaya 2014 () Calculus of variations lecture 12 26. Juni 2014 1 / 25 Purpose of Lesson Purpose of Lesson: To discuss numerical

More information

Fall 2013 Hour Exam 2 11/08/13 Time Limit: 50 Minutes

Fall 2013 Hour Exam 2 11/08/13 Time Limit: 50 Minutes Math 8 Fall Hour Exam /8/ Time Limit: 5 Minutes Name (Print): This exam contains 9 pages (including this cover page) and 7 problems. Check to see if any pages are missing. Enter all requested information

More information

SOLUTIONS TO EXAM II, MATH f(x)dx where a table of values for the function f(x) is given below.

SOLUTIONS TO EXAM II, MATH f(x)dx where a table of values for the function f(x) is given below. SOLUTIONS TO EXAM II, MATH 56 Use Simpson s rule with n = 6 to approximate the integral f(x)dx where a table of values for the function f(x) is given below x 5 5 75 5 5 75 5 5 f(x) - - x 75 5 5 75 5 5

More information

Math123 Lecture 1. Dr. Robert C. Busby. Lecturer: Office: Korman 266 Phone :

Math123 Lecture 1. Dr. Robert C. Busby. Lecturer: Office: Korman 266 Phone : Lecturer: Math1 Lecture 1 Dr. Robert C. Busby Office: Korman 66 Phone : 15-895-1957 Email: rbusby@mcs.drexel.edu Course Web Site: http://www.mcs.drexel.edu/classes/calculus/math1_spring0/ (Links are case

More information

Math Exam III - Spring

Math Exam III - Spring Math 3 - Exam III - Spring 8 This exam contains 5 multiple choice questions and hand graded questions. The multiple choice questions are worth 5 points each and the hand graded questions are worth a total

More information

Differential Equations

Differential Equations Differential Equations Definitions Finite Differences Taylor Series based Methods: Euler Method Runge-Kutta Methods Improved Euler, Midpoint methods Runge Kutta (2nd, 4th order) methods Predictor-Corrector

More information

Romberg Integration and Gaussian Quadrature

Romberg Integration and Gaussian Quadrature Romberg Integration and Gaussian Quadrature P. Sam Johnson October 17, 014 P. Sam Johnson (NITK) Romberg Integration and Gaussian Quadrature October 17, 014 1 / 19 Overview We discuss two methods for integration.

More information

TEACHER NOTES MATH NSPIRED

TEACHER NOTES MATH NSPIRED Math Objectives Students will learn that for a continuous non-negative function f, one interpretation of the definite integral f ( x ) dx is the area of a the region bounded above by the graph of y = f(x),

More information

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by 1. QUESTION (a) Given a nth degree Taylor polynomial P n (x) of a function f(x), expanded about x = x 0, write down the Lagrange formula for the truncation error, carefully defining all its elements. How

More information

This practice exam is intended to help you prepare for the final exam for MTH 142 Calculus II.

This practice exam is intended to help you prepare for the final exam for MTH 142 Calculus II. MTH 142 Practice Exam Chapters 9-11 Calculus II With Analytic Geometry Fall 2011 - University of Rhode Island This practice exam is intended to help you prepare for the final exam for MTH 142 Calculus

More information

Math-3315 & CSE-3365, exam 2 answer sheet

Math-3315 & CSE-3365, exam 2 answer sheet Math-3315 & CSE-3365, exam 2 answer sheet Oct. 23, 2012 Problem 1. (20 points) Given a vector z that contains all distinct elements z 1,z 2,,z n. The first task is to generate an n n Vandermonde-type matrix

More information

Math 115 HW #5 Solutions

Math 115 HW #5 Solutions Math 5 HW #5 Solutions From 29 4 Find the power series representation for the function and determine the interval of convergence Answer: Using the geometric series formula, f(x) = 3 x 4 3 x 4 = 3(x 4 )

More information

Ordinary Differential Equations II

Ordinary Differential Equations II Ordinary Differential Equations II CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Justin Solomon CS 205A: Mathematical Methods Ordinary Differential Equations II 1 / 29 Almost Done! No

More information

Math 131. The Derivative and the Tangent Line Problem Larson Section 2.1

Math 131. The Derivative and the Tangent Line Problem Larson Section 2.1 Math 131. The Derivative and the Tangent Line Problem Larson Section.1 From precalculus, the secant line through the two points (c, f(c)) and (c +, f(c + )) is given by m sec = rise f(c + ) f(c) f(c +

More information

Math 162: Calculus IIA

Math 162: Calculus IIA Math 62: Calculus IIA Final Exam ANSWERS December 9, 26 Part A. (5 points) Evaluate the integral x 4 x 2 dx Substitute x 2 cos θ: x 8 cos dx θ ( 2 sin θ) dθ 4 x 2 2 sin θ 8 cos θ dθ 8 cos 2 θ cos θ dθ

More information

Exam 3, Math Fall 2016 October 19, 2016

Exam 3, Math Fall 2016 October 19, 2016 Exam 3, Math 500- Fall 06 October 9, 06 This is a 50-minute exam. You may use your textbook, as well as a calculator, but your work must be completely yours. The exam is made of 5 questions in 5 pages,

More information

Math 106 Fall 2014 Exam 2.1 October 31, ln(x) x 3 dx = 1. 2 x 2 ln(x) + = 1 2 x 2 ln(x) + 1. = 1 2 x 2 ln(x) 1 4 x 2 + C

Math 106 Fall 2014 Exam 2.1 October 31, ln(x) x 3 dx = 1. 2 x 2 ln(x) + = 1 2 x 2 ln(x) + 1. = 1 2 x 2 ln(x) 1 4 x 2 + C Math 6 Fall 4 Exam. October 3, 4. The following questions have to do with the integral (a) Evaluate dx. Use integration by parts (x 3 dx = ) ( dx = ) x3 x dx = x x () dx = x + x x dx = x + x 3 dx dx =

More information

Math 113 (Calculus 2) Exam 4

Math 113 (Calculus 2) Exam 4 Math 3 (Calculus ) Exam 4 November 0 November, 009 Sections 0, 3 7 Name Student ID Section Instructor In some cases a series may be seen to converge or diverge for more than one reason. For such problems

More information

Differentiation and Integration

Differentiation and Integration Differentiation and Integration (Lectures on Numerical Analysis for Economists II) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 12, 2018 1 University of Pennsylvania 2 Boston College Motivation

More information

Chapter 6 Section Antiderivatives and Indefinite Integrals

Chapter 6 Section Antiderivatives and Indefinite Integrals Chapter 6 Section 6.1 - Antiderivatives and Indefinite Integrals Objectives: The student will be able to formulate problems involving antiderivatives. The student will be able to use the formulas and properties

More information

Math 181, Exam 1, Study Guide Problem 1 Solution. xe x2 dx = e x2 xdx. = e u 1 2 du = 1. e u du. = 1 2 eu + C. = 1 2 ex2 + C

Math 181, Exam 1, Study Guide Problem 1 Solution. xe x2 dx = e x2 xdx. = e u 1 2 du = 1. e u du. = 1 2 eu + C. = 1 2 ex2 + C Math 8, Exam, Study Guide Problem Solution. Evaluate xe x dx. Solution: We evaluate the integral using the u-substitution method. Let u x. Then du xdx du xdx and we get: xe x dx e x xdx e u du e u du eu

More information

COURSE Numerical integration of functions (continuation) 3.3. The Romberg s iterative generation method

COURSE Numerical integration of functions (continuation) 3.3. The Romberg s iterative generation method COURSE 7 3. Numerical integration of functions (continuation) 3.3. The Romberg s iterative generation method The presence of derivatives in the remainder difficulties in applicability to practical problems

More information

MATH 20B MIDTERM #2 REVIEW

MATH 20B MIDTERM #2 REVIEW MATH 20B MIDTERM #2 REVIEW FORMAT OF MIDTERM #2 The format will be the same as the practice midterms. There will be six main questions worth 0 points each. These questions will be similar to problems you

More information

Chapter 8 Indeterminate Forms and Improper Integrals Math Class Notes

Chapter 8 Indeterminate Forms and Improper Integrals Math Class Notes Chapter 8 Indeterminate Forms and Improper Integrals Math 1220-004 Class Notes Section 8.1: Indeterminate Forms of Type 0 0 Fact: The it of quotient is equal to the quotient of the its. (book page 68)

More information

Notation Nodes are data points at which functional values are available or at which you wish to compute functional values At the nodes fx i

Notation Nodes are data points at which functional values are available or at which you wish to compute functional values At the nodes fx i LECTURE 6 NUMERICAL DIFFERENTIATION To find discrete approximations to differentiation (since computers can only deal with functional values at discrete points) Uses of numerical differentiation To represent

More information

Integration. Copyright Cengage Learning. All rights reserved.

Integration. Copyright Cengage Learning. All rights reserved. 4 Integration Copyright Cengage Learning. All rights reserved. 1 4.3 Riemann Sums and Definite Integrals Copyright Cengage Learning. All rights reserved. 2 Objectives Understand the definition of a Riemann

More information