Examination paper for TMA4130 Matematikk 4N

Similar documents
Examination paper for TMA4125 Matematikk 4N

Examination paper for TMA4130 Matematikk 4N: SOLUTION

Examination paper for TMA4122/TMA4123/TMA4125/TMA4130 Matematikk 4M/N

Examination paper for TMA4195 Mathematical Modeling

Examination paper for TMA4285 Time Series Models

Examination paper for TMA4195 Mathematical Modeling

Examination paper for TMA4145 Linear Methods

Examination paper for TMA4255 Applied statistics

Examination paper for TMA4215 Numerical Mathematics

Exam TMA4120 MATHEMATICS 4K. Monday , Time:

Exam in TMA4215 December 7th 2012

Examination paper for TMA4110 Matematikk 3

MATH 251 Final Examination August 14, 2015 FORM A. Name: Student Number: Section:

Suggested solutions, TMA4125 Calculus 4N

1 x if 0 < x < 2, 1 x if 2 < x < 0.

Hence a root lies between 1 and 2. Since f a is negative and f(x 0 ) is positive The root lies between a and x 0 i.e. 1 and 1.

BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination December, 2015 BCS-054 : COMPUTER ORIENTED NUMERICAL TECHNIQUES

Examination paper for FY3403 Particle physics

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Differential Equations

Examination paper for TFY4245 Faststoff-fysikk, videregående kurs

Exam in Numerical Methods (MA2501)

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

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

Examination paper for TPG4150 Reservoir Recovery Techniques

Examination paper for TMA4110/TMA4115 Matematikk 3

Problem 1. Possible Solution. Let f be the 2π-periodic functions defined by f(x) = cos ( )

Math 216 Final Exam 14 December, 2012

CS 257: Numerical Methods

Fourier transforms. R. C. Daileda. Partial Differential Equations April 17, Trinity University

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK

Math 216 Final Exam 14 December, 2017

x x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b)

Numerical Analysis Solution of Algebraic Equation (non-linear equation) 1- Trial and Error. 2- Fixed point

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

Previous Year Questions & Detailed Solutions

Fourth Order RK-Method

NUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places.

M.SC. PHYSICS - II YEAR

Name of the Student: Unit I (Solution of Equations and Eigenvalue Problems)

UNIT II SOLUTION OF NON-LINEAR AND SIMULTANEOUS LINEAR EQUATION

Numerical methods. Examples with solution

Introductory Numerical Analysis

SOLUTION OF EQUATION AND EIGENVALUE PROBLEMS PART A( 2 MARKS)

Computation Fluid Dynamics

TMA4125 Matematikk 4N Spring 2017

Unit I (Testing of Hypothesis)

Mathematical Methods for Numerical Analysis and Optimization

AIMS Exercise Set # 1

Examination paper for TPG4150 Reservoir Recovery Techniques

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

School of Sciences Indira Gandhi National Open University Maidan Garhi, New Delhi (For January 2012 cycle)

Math 241 Final Exam Spring 2013

Numerical Methods for Initial Value Problems; Harmonic Oscillators

COURSE Numerical integration of functions

Fourier Series Example

Examination paper for TMA4180 Optimization I

Do not turn over until you are told to do so by the Invigilator.

NUMERICAL METHODS FOR ENGINEERING APPLICATION

TMA4120, Matematikk 4K, Fall Date Section Topic HW Textbook problems Suppl. Answers. Sept 12 Aug 31/

12.0 Properties of orthogonal polynomials

ASSIGNMENT BOOKLET. M.Sc. (Mathematics with Applications in Computer Science) Differential Equations and Numerical Solutions (MMT-007)

Fundamental Numerical Methods for Electrical Engineering

(0, 0), (1, ), (2, ), (3, ), (4, ), (5, ), (6, ).

Numerical Methods. Scientists. Engineers

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

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

Applied Numerical Analysis

Justify all your answers and write down all important steps. Unsupported answers will be disregarded.

Computational Methods

Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations

Examination paper for TMA4195 Mathematical Modeling

Math 5630: Iterative Methods for Systems of Equations Hung Phan, UMass Lowell March 22, 2018

Iterative Methods for Ax=b

Preface. 2 Linear Equations and Eigenvalue Problem 22

FINAL EXAM, MATH 353 SUMMER I 2015

PH.D. PRELIMINARY EXAMINATION MATHEMATICS

Final Year M.Sc., Degree Examinations

MATH 251 Final Examination December 16, 2015 FORM A. Name: Student Number: Section:

MATH 251 Examination II April 3, 2017 FORM A. Name: Student Number: Section:

Virtual University of Pakistan

Numerical and Statistical Methods

Math 337, Summer 2010 Assignment 5

5. Hand in the entire exam booklet and your computer score sheet.

n 1 f n 1 c 1 n+1 = c 1 n $ c 1 n 1. After taking logs, this becomes

Name: ID.NO: Fall 97. PLEASE, BE NEAT AND SHOW ALL YOUR WORK; CIRCLE YOUR ANSWER. NO NOTES, BOOKS, CALCULATORS, TAPE PLAYERS, or COMPUTERS.

Practice Problems For Test 3

MATH 251 Final Examination December 16, 2014 FORM A. Name: Student Number: Section:

MATHEMATICAL METHODS INTERPOLATION

Numerical and Statistical Methods

Math 251 December 14, 2005 Final Exam. 1 18pt 2 16pt 3 12pt 4 14pt 5 12pt 6 14pt 7 14pt 8 16pt 9 20pt 10 14pt Total 150pt

Fourier series. Complex Fourier series. Positive and negative frequencies. Fourier series demonstration. Notes. Notes. Notes.

Math 128A Spring 2003 Week 11 Solutions Burden & Faires 5.6: 1b, 3b, 7, 9, 12 Burden & Faires 5.7: 1b, 3b, 5 Burden & Faires 5.

Lecture 4: Fourier Transforms.

Math 216 Second Midterm 20 March, 2017

HIGHER ORDER METHODS. There are two principal means to derive higher order methods. b j f(x n j,y n j )

Math 473: Practice Problems for Test 1, Fall 2011, SOLUTIONS

UNIVERSITY OF MANITOBA

Q1 Q2 Q3 Q4 Tot Letr Xtra

MATH 3150: PDE FOR ENGINEERS FINAL EXAM (VERSION A)

Transcription:

Department of Mathematical Sciences Examination paper for TMA4130 Matematikk 4N Academic contact during examination: Morten Nome Phone: 90 84 97 83 Examination date: 13 December 2017 Examination time (from to): 09:00 13:00 Permitted examination support material: Kode C: Bestemt, enkel kalkulator Rottmann: Matematisk formelsamling Other information: All answers have to be justified, and they should include enough details in order to see how they have been obtained. All sub-problems carry the same weight for grading. Good Luck! Language: English Number of pages: 3 Number of pages enclosed: 2 Checked by: Informasjon om trykking av eksamensoppgave Originalen er: 1-sidig 2-sidig sort/hvit farger skal ha flervalgskjema Date Signature

TMA4130 Matematikk 4N, 13. desember 2017 Page 1 of 3 Problem 1 Let f(x) be defined as f(x) = π 4 x, where 0 < x < π. 2 a) Find the Fourier cosine series of f(x). b) Use the result to compute the value of the series n=0 1 (2n + 1) 2. Problem 2 Solve the integral equation f(x t)e t dt = e x2 2 using Fourier transforms. (Hint: You may need the formula for the Fourier transform of derivatives.) Problem 3 Consider the ordinary differential equation y 3y + 2y = r, y(0) = 1, y (0) = A (1) where r = r(t) is a given function and A is a constant. a) Solve this equation using the Laplace transform in the case r(t) = 0. b) Determine the solution in the case when r(t) = e t. c) Rewrite the equation (1) for an arbitrary r = r(t) as a first-order system of the form Z (t) = F (t, Z) where F (t, Z) is a vector-valued function and Z(t) is the unknown vectorvalued function to be determined. d) Write down the classical Runge Kutta method for this system of equations. e) Compute the approximate solution y(0.1) using h = 0.1 in the case r(t) = 0 and A = 0. Keep 6 digits in the computations.

Page 2 of 3 TMA4130 Matematikk 4N, 13. desember 2017 Problem 4 Consider the equation e x 3 x = 0. a) Show that this equation has a unique solution in the interval (0, 3). b) Compute 3 iterations of Newton s method to approximate the solution, starting with x 0 = 1. c) Write the equation as an equation of the form g(x) = x so that the fixedpoint iteration method converges, and compute 3 iterations, starting with x 0 = 1. Keep 5 digits in your computations. Problem 5 Consider the function f(x) = ln(x). a) Compute the Chebyshev points, with n = 2, in the interval [0, 2]. b) Using Lagrange interpolation, find the polynomial of smallest degree that interpolates the function at the Chebyshev points found in a). Keep 5 digits in the computations. Problem 6 Consider the system of equations 4x 1 x 2 + 2x 3 = 20 x 2 + 4x 3 = 28 x 1 + 4x 2 x 3 = 40 a) Rearrange this system of equations so that you can apply Jacobi s method and such that it converges. b) Perform 2 iterations of the Jacobi s method, starting with x 0 = (1, 1, 1), using 5 digits in the computations.

TMA4130 Matematikk 4N, 13. desember 2017 Page 3 of 3 Problem 7 Let u(x, t) be the temperature at time t in a laterally insulated bar of length 3 lying on the x-axis. It satisfies the heat equation with initial condition and boundary conditions u t = 2 u, 0 x 3, t 0, x2 u(x, 0) = 2 sin ( ) πx 3 u(0, t) = u(3, t) = 0, t 0. a) Find the solutions that are of the form u(x, t) = F (x)g(t) and that satisfy the boundary conditions. b) Find the solution that satisfies the initial condition. Evaluate u(1, 0.5). c) Use the Crank Nicolson method with k = 0.5 and h = 1 to approximate the value of u(1, 0.5). Keep 5 digits in the computations.

TMA4130 Matematikk 4N, 13. desember 2017 Page i of ii Fourier Transform f(x) = 1 2π ˆf(ω)e iωx dω ˆf(ω) = 1 2π f(x)e iωx dx f g(x) f (x) 2π ˆf(ω)ĝ(ω) iω ˆf(ω) e ax2 1 2a e ω2 /4a e a x 1 x 2 + a 2 f(x) = 1 for x < a, 0 otherwise 2 a π ω 2 + a 2 π e a ω 2 a 2 sin ωa π ω Laplace Transform f(t) F (s) = f (t) tf(t) 0 e st f(t) dt sf (s) f(0) F (s) e at f(t) F (s a) s cos(ωt) s 2 + ω 2 ω sin(ωt) s 2 + ω 2 t n n! s n+1 e at 1 s a f(t a)u(t a) e sa F (s) δ(t a) f g(t) e as F (s)g(s)

Page ii of ii TMA4130 Matematikk 4N, 13. desember 2017 Numerics Newton s method: x k+1 = x k f(x k) f (x k ). Newton s method for system of equations: x k+1 = x k JF ( x k ) 1 F ( x k ), with JF = ( j f i ). Lagrange interpolation: p n (x) = n k=0 l k (x) l k (x k ) f k, with l k (x) = j k(x x j ). Interpolation error: ɛ n (x) = n k=0 (x x k ) f (n+1) (t) (n+1)!. Chebyshev points: x k = cos ( 2k+1 2n+2 π), 0 k n. Newton s divided difference: f(x) f 0 + (x x 0 )f[x 0, x 1 ]+ (x x 0 )(x x 1 )f[x 0, x 1, x 2 ]+ +(x x 0 )(x x 1 ) (x x n 1 )f[x 0,..., x n ], with f[x 0,..., x k ] = f[x 1,...x k ] f[x 0,...,x k 1 ] x k x 0. Trapezoid rule: b a f(x) dx h [ 1 2 f(a) + f 1 + f 2 + + f n 1 + 1 2 f(b)]. Error of the trapezoid rule: ɛ b a 12 h2 max x [a,b] f (x). Simpson rule: b a f(x) dx h 3 [f 0 + 4f 1 + 2f 2 + 4f 3 + + 2f n 2 + 4f n 1 + f n ]. Error of the Simpson rule: ɛ b a 180 h4 max x [a,b] f (4) (x). Gauss Seidel iteration: x (m+1) = b Lx (m+1) Ux (m), with A = I+L+U. Jacobi iteration: x (m+1) = b + (I A)x (m). Euler method: y n+1 = y n + hf(x n, y n ). Improved Euler method: y n+1 = y n + 1 2 h[f(x n, y n ) + f(x n + h, y n+1)], where y n+1 = y n + hf(x n, y n ). Classical Runge Kutta method: k 1 = hf(x n, y n ), k 2 = hf(x n + h/2, y n + k 1 /2), k 3 = hf(x n + h/2, y n + k 2 /2), k 4 = hf(x n + h, y n + k 3 ), y n+1 = y n + 1 6 k 1 + 1 3 k 2 + 1 3 k 3 + 1 6 k 4. Backward Euler method: y n+1 = y n + hf(x n+1, y n+1 ). Finite differences: u u(x+h,y) u(x h,y) (x, y), 2 u(x, y) u(x+h,y) 2u(x,y)+u(x h,y). x 2h x 2 h 2 Crank Nicolson method for the heat equation: r = k h 2, (2 + 2r)u i,j+1 r(u i+1,j+1 + u i 1,j+1 ) = (2 2r)u ij + r(u i+1,j + u i 1,j ).