B.Sc. in Mathematics (Ordinary)

Similar documents
CAAM 453 NUMERICAL ANALYSIS I Examination There are four questions, plus a bonus. Do not look at them until you begin the exam.

Orthogonal Polynomials

Construction of Gauss Quadrature Rules

Lecture 12: Numerical Quadrature

1 The Lagrange interpolation formula

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

Z b. f(x)dx. Yet in the above two cases we know what f(x) is. Sometimes, engineers want to calculate an area by computing I, but...

DOING PHYSICS WITH MATLAB MATHEMATICAL ROUTINES

Lecture 14 Numerical integration: advanced topics

COSC 3361 Numerical Analysis I Numerical Integration and Differentiation (III) - Gauss Quadrature and Adaptive Quadrature

p(x) = 3x 3 + x n 3 k=0 so the right hand side of the equality we have to show is obtained for r = b 0, s = b 1 and 2n 3 b k x k, q 2n 3 (x) =

Lecture 14: Quadrature

Numerical Integration

COT4501 Spring Homework VII

Lecture 6: Singular Integrals, Open Quadrature rules, and Gauss Quadrature

Numerical Integration. Newton Cotes Formulas. Quadrature. Newton Cotes Formulas. To approximate the integral b

Numerical integration

AP Calculus Multiple Choice: BC Edition Solutions

Undergraduate Research

Definite integral. Mathematics FRDIS MENDELU

Definite integral. Mathematics FRDIS MENDELU. Simona Fišnarová (Mendel University) Definite integral MENDELU 1 / 30

Numerical Integration

Numerical Analysis: Trapezoidal and Simpson s Rule

NUMERICAL INTEGRATION

Matrices, Moments and Quadrature, cont d

1 Linear Least Squares

Discrete Least-squares Approximations

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

Trapezoidal Rule, n = 1, x 0 = a, x 1 = b, h = b a. f (x)dx = h 2 (f (x 0) + f (x 1 )) h3

Numerical quadrature based on interpolating functions: A MATLAB implementation

Advanced Computational Fluid Dynamics AA215A Lecture 3 Polynomial Interpolation: Numerical Differentiation and Integration.

III. Lecture on Numerical Integration. File faclib/dattab/lecture-notes/numerical-inter03.tex /by EC, 3/14/2008 at 15:11, version 9

Part IB Numerical Analysis

Lecture Note 4: Numerical differentiation and integration. Xiaoqun Zhang Shanghai Jiao Tong University

Lecture 20: Numerical Integration III

Orthogonal Polynomials and Least-Squares Approximations to Functions

Chapter 3 Polynomials

Theoretical foundations of Gaussian quadrature

Math& 152 Section Integration by Parts

Chapter 3 Solving Nonlinear Equations

4181H Problem Set 11 Selected Solutions. Chapter 19. n(log x) n 1 1 x x dx,

Lecture 17. Integration: Gauss Quadrature. David Semeraro. University of Illinois at Urbana-Champaign. March 20, 2014

The Riemann Integral

Chapter 2. Numerical Integration also called quadrature. 2.2 Trapezoidal Rule. 2.1 A basic principle Extending the Trapezoidal Rule DRAWINGS

THE HANKEL MATRIX METHOD FOR GAUSSIAN QUADRATURE IN 1 AND 2 DIMENSIONS

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature

Numerical Analysis. 10th ed. R L Burden, J D Faires, and A M Burden

Interpolation. Gaussian Quadrature. September 25, 2011

New Expansion and Infinite Series

Math 131. Numerical Integration Larson Section 4.6

Midpoint Approximation

An optimal 3-point quadrature formula of closed type and error bounds

Best Approximation. Chapter The General Case

Lab 11 Approximate Integration

1. Gauss-Jacobi quadrature and Legendre polynomials. p(t)w(t)dt, p {p(x 0 ),...p(x n )} p(t)w(t)dt = w k p(x k ),

Space Curves. Recall the parametric equations of a curve in xy-plane and compare them with parametric equations of a curve in space.

3.4 Numerical integration

LECTURE 19. Numerical Integration. Z b. is generally thought of as representing the area under the graph of fèxè between the points x = a and

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

Section 4.8. D v(t j 1 ) t. (4.8.1) j=1

P 3 (x) = f(0) + f (0)x + f (0) 2. x 2 + f (0) . In the problem set, you are asked to show, in general, the n th order term is a n = f (n) (0)

Ordinary Differential Equations- Boundary Value Problem

1 Error Analysis of Simple Rules for Numerical Integration

5.1 How do we Measure Distance Traveled given Velocity? Student Notes

Numerical Analysis I

Numerical Integration. 1 Introduction. 2 Midpoint Rule, Trapezoid Rule, Simpson Rule. AMSC/CMSC 460/466 T. von Petersdorff 1

Harmonic Mean Derivative - Based Closed Newton Cotes Quadrature

We know that if f is a continuous nonnegative function on the interval [a, b], then b

Math Week 5 concepts and homework, due Friday February 10

CLOSED EXPRESSIONS FOR COEFFICIENTS IN WEIGHTED NEWTON-COTES QUADRATURES

Lecture 4: Piecewise Cubic Interpolation

Review of Gaussian Quadrature method

Lecture 19: Continuous Least Squares Approximation

Math 190 Chapter 5 Lecture Notes. Professor Miguel Ornelas

Numerical Methods 2007

The Fundamental Theorem of Calculus, Particle Motion, and Average Value

APPROXIMATE INTEGRATION

AP Calculus AB Unit 5 (Ch. 6): The Definite Integral: Day 12 Chapter 6 Review

Math 61CM - Solutions to homework 9

1 Part II: Numerical Integration

Arithmetic Mean Derivative Based Midpoint Rule

AN INTEGRAL INEQUALITY FOR CONVEX FUNCTIONS AND APPLICATIONS IN NUMERICAL INTEGRATION

JDEP 384H: Numerical Methods in Business

1 The Riemann Integral

. Double-angle formulas. Your answer should involve trig functions of θ, and not of 2θ. sin 2 (θ) =

Introduction to Numerical Analysis

The use of a so called graphing calculator or programmable calculator is not permitted. Simple scientific calculators are allowed.

Solution to HW 4, Ma 1c Prac 2016

A. Limits - L Hopital s Rule ( ) How to find it: Try and find limits by traditional methods (plugging in). If you get 0 0 or!!, apply C.! 1 6 C.

(4.1) D r v(t) ω(t, v(t))

different methods (left endpoint, right endpoint, midpoint, trapezoid, Simpson s).

. Double-angle formulas. Your answer should involve trig functions of θ, and not of 2θ. cos(2θ) = sin(2θ) =.

Calculus 2: Integration. Differentiation. Integration

Best Approximation in the 2-norm

Numerical Methods I Orthogonal Polynomials

MAT 772: Numerical Analysis. James V. Lambers

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies

Sample Problems for the Final of Math 121, Fall, 2005

On the Decomposition Method for System of Linear Fredholm Integral Equations of the Second Kind

Transcription:

R48/0 DUBLIN INSTITUTE OF TECHNOLOGY KEVIN STREET, DUBLIN 8 B.Sc. in Mthemtics (Ordinry) SUPPLEMENTAL EXAMINATIONS 01 Numericl Methods Dr. D. Mckey Dr. C. Hills Dr. E.A. Cox Full mrks for complete nswers to five questions Mthemtics Tbles

1 The Lgrnge polynomil which interpoltes the dt (x i, f i ), where f i = f(x i ) for i = 0, 1,... n, is given by n P n (x) = L n,i (x)f i where L n,i (x) = n i j x x i x j x i. () Show tht if the function f(x) is pproximted by the Lgrnge polynomil P n (x) on n intervl [, b] then the following Newton-Cotes qudrture rule cn be derived for pproximting the integrl of f n I(f) = f(x) dx w i f(x i ), where w i = L n,i (x) dx. [8 mrks] (b) Hence derive the following closed Newton-Cotes qudrture formul for n = I(f) b [ ( ) ] + b f() + 4f + f(b) 6 (Simpson s Rule). [1 mrks] () Let P (x) = 0 + 1 (x x 0 )+ (x x 0 )(x x 1 ) denote the Newton interpolting polynomil which pproximtes the function f(x) nd psses through the three points (x 0, f(x 0 )), (x 1, f(x 1 )) nd (x, f(x )). Derive formule for 0, 1 nd nd show tht cn be written in the form = f[x 1, x ] f[x 0, x 1 ] where f[x 1, x ] = f(x ) f(x 1 ), etc. x x 0 x x 1 [10 mrks] (b) Using the formule derived in prt (), write out the Newton form of the interpolting polynomil for f(x) = sin(x) which psses through the points (0, sin(0)), (π/4, sin(π/4)) nd (π/, sin(π/)). [6 mrks] (c) Use the polynomil in prt () to estimte sin(π/3). Wht is the error in this pproximtion? [4 mrks] Pge of 5

3 () Consider the Cholesky fctoriztion of mtrix, A = LL T. Wht conditions must A nd L stisfy? In the cse of 3 3 mtrix, derive the equtions stisfied by the entries of L nd indicte the order in which these should be solved. [6 mrks] (b) Find the Cholesky fctoriztion for the mtrix 16 8 0 A = 8 53 10. 0 10 9 [6 mrks] (c) Use the result of prt (b) to solve the system 16x 1 8x = 8 8x 1 + 53x + 10x 3 = 10x + 9x 3 = 38. [8 mrks] 4 Consider the mtrix 8 0 1 0 0 A = 0 1 1 1 0 1 8 () Sketch the Gerschgorin circles nd hence find n pproximtion for the dominnt eigenvlue of the mtrix A. [8 mrks] (b) Using three itertions of the power method, pproximte the dominnt eigenvlue of A, s well s n ssocited eigenvector. Use x (0) = [1, 1, 1] T s your initil pproximtion. [1 mrks] Pge 3 of 5

5 () Using the Euler method nd step size of h = 0.5, find n pproximte solution for the initil vlue problem dx dt = tx3 x, 0 t 1, x(0) = 1. Given tht the exct solution is x(t) =, clculte the pproxi- + 4t + e t mtion error t ech step. [10 mrks] (b) Approximte the solution of the problem in prt (b) using the fourth order Runge-Kutt method with step size of h = 0.5. How do the bsolute errors in this cse compre with those obtined from the Euler s method? [10 mrks] Hint: The fourth-order Runge-Kutt formul is given by w i+1 = w i + 1 6 (k 1 + k + k 3 + k 4 ) where k 1 = hf(t i, w i ), k = hf(t i + h, w i + k 1 ), k 3 = hf(t i + h, w i + k ), k 4 = hf(t i + h, w i + k 3 ), where w i is the pproximte solution t time t i = t 0 + ih. 6 () Derive the three-point Gussin qudrture rule 1 f(x) dx 5 ) ( ) 3 ( 9 f + 8 5 9 f(0) + 5 3 9 f. 5 1 [1 mrks] (b) Use the three-point Gussin qudrture rule to pproximte the vlue of the integrl 1 1 e x dx. Wht is the bsolute error in this pproximtion? [8 mrks] Pge 4 of 5

7 () Given the trpezoidl rule for pproximting the vlue of the integrl I(f) = f(x) dx, I(f) = b [f() + f(b)] (b )3 1 f (ξ) where < ξ < b, derive the composite trpezoidl rule [ ] T h (f) = h n 1 (b )h f() + f(x i ) + f(b) f ( ξ) 1 i=1 where < ξ < b, h = (b )/n nd x i = + ih for ll i = 0,... n. [1 mrks] (b) Determine the number of intervls needed in the composite trpezoidl rule such tht, when pproximting the vlue of the integrl I(f) = π 0 sin(x) dx, the error is less thn 10 4. (Do not ttempt to determine this pproximtion.) [8 mrks] 8 () Define the Chebyshev polynomils, T n (x), nd prove the recurrence formul T n+1 (x) + T n 1 (x) = xt n (x), for n 0 nd 1 x 1. (Hint: Use the substitution θ = cos 1 (x).) [5 mrks] (b) Using the definition or the recurrence formul in prt (), clculte the polynomils T 0 (x), T 1 (x), T (x), T 3 (x) nd T 4 (x). [5 mrks] (c) Strting with the fourth-order Mclurin polynomil nd using the modified Chebyshev polynomils T n (x) = T n (x)/ n 1, find the polynomil of lest degree which best pproximtes the function f(x) = e x on [ 1, 1], while keeping the error less thn 0.05. [10 mrks] Pge 5 of 5