CS 323: Numerical Analysis and Computing

Similar documents
CS 323: Numerical Analysis and Computing

CS412: Introduction to Numerical Methods

CS 323: Numerical Analysis and Computing

Two hours. To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER. 29 May :45 11:45

Nonlinearity Root-finding Bisection Fixed Point Iteration Newton s Method Secant Method Conclusion. Nonlinear Systems

Midterm Review. Igor Yanovsky (Math 151A TA)

Exam 2. Average: 85.6 Median: 87.0 Maximum: Minimum: 55.0 Standard Deviation: Numerical Methods Fall 2011 Lecture 20

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

University of Connecticut Department of Mathematics

Nonlinearity Root-finding Bisection Fixed Point Iteration Newton s Method Secant Method Conclusion. Nonlinear Systems

Test 2 Review Math 1111 College Algebra

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.

GENG2140, S2, 2012 Week 7: Curve fitting

ROOT FINDING REVIEW MICHELLE FENG

BSM510 Numerical Analysis

Cubic Splines MATH 375. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Cubic Splines

Scientific Computing: An Introductory Survey

CS 450 Numerical Analysis. Chapter 5: Nonlinear Equations

Variable. Peter W. White Fall 2018 / Numerical Analysis. Department of Mathematics Tarleton State University

Math 4329: Numerical Analysis Chapter 03: Fixed Point Iteration and Ill behaving problems. Natasha S. Sharma, PhD

Computational Methods CMSC/AMSC/MAPL 460. Solving nonlinear equations and zero finding. Finding zeroes of functions

Review all the activities leading to Midterm 3. Review all the problems in the previous online homework sets (8+9+10).

Chapter 3: Root Finding. September 26, 2005

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

Section 6.6 Evaluating Polynomial Functions

Lecture 10 Polynomial interpolation

MA/OR/ST 706: Nonlinear Programming Midterm Exam Instructor: Dr. Kartik Sivaramakrishnan INSTRUCTIONS

Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane.

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

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

3.1 Interpolation and the Lagrange Polynomial

MATH 1001 R02 MIDTERM EXAM 1 SOLUTION

Outline. Scientific Computing: An Introductory Survey. Nonlinear Equations. Nonlinear Equations. Examples: Nonlinear Equations

CHAPTER-II ROOTS OF EQUATIONS

THE SECANT METHOD. q(x) = a 0 + a 1 x. with


ECE580 Exam 1 October 4, Please do not write on the back of the exam pages. Extra paper is available from the instructor.

Spring /11/2009

1. Method 1: bisection. The bisection methods starts from two points a 0 and b 0 such that

CS 257: Numerical Methods

SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS BISECTION METHOD

Curve Fitting and Interpolation

2, or x 5, 3 x 0, x 2


Numerical solutions of nonlinear systems of equations

STOP, a i+ 1 is the desired root. )f(a i) > 0. Else If f(a i+ 1. Set a i+1 = a i+ 1 and b i+1 = b Else Set a i+1 = a i and b i+1 = a i+ 1

Root Finding (and Optimisation)

Fixed point iteration Numerical Analysis Math 465/565

HOMEWORK 7 SOLUTIONS

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 5. Nonlinear Equations

Numerical Methods I Solving Nonlinear Equations

Introduction Linear system Nonlinear equation Interpolation

MATH UN Midterm 2 November 10, 2016 (75 minutes)

Tropical Polynomials

Test 2. Monday, November 12, 2018

MATH ASSIGNMENT 07 SOLUTIONS. 8.1 Following is census data showing the population of the US between 1900 and 2000:

UNIT-II INTERPOLATION & APPROXIMATION

MecE 390 Final examination, Winter 2014

Analysis Methods in Atmospheric and Oceanic Science

Chapter 3: Inequalities, Lines and Circles, Introduction to Functions

MS 2001: Test 1 B Solutions

Analysis Methods in Atmospheric and Oceanic Science

Test 3 - Answer Key Version B

Function approximation

3.1 Introduction. Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x x 1.5 =0, tan x x =0.

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)

Problem 1: Toolbox (25 pts) For all of the parts of this problem, you are limited to the following sets of tools:

Non-polynomial Least-squares fitting

Math 111 Exam 1. Instructions

. As x gets really large, the last terms drops off and f(x) ½x

Bindel, Fall 2011 Intro to Scientific Computing (CS 3220) Week 6: Monday, Mar 7. e k+1 = 1 f (ξ k ) 2 f (x k ) e2 k.

SYSTEMS OF NONLINEAR EQUATIONS

MAT 300 Midterm Exam Summer 2017

Test 3 Version A. On my honor, I have neither given nor received inappropriate or unauthorized information at any time before or during this test.

1. Nonlinear Equations. This lecture note excerpted parts from Michael Heath and Max Gunzburger. f(x) = 0

MATH 2053 Calculus I Review for the Final Exam

Math Numerical Analysis Mid-Term Test Solutions

Exam in TMA4215 December 7th 2012

Credit at (circle one): UNB-Fredericton UNB-Saint John UNIVERSITY OF NEW BRUNSWICK DEPARTMENT OF MATHEMATICS & STATISTICS

Test 3 Version A. On my honor, I have neither given nor received inappropriate or unauthorized information at any time before or during this test.

IE 5531 Midterm #2 Solutions

MAE 107 Homework 8 Solutions

INTRODUCTION TO COMPUTATIONAL MATHEMATICS

Math 41 Final Exam December 9, 2013

Computational Methods. Solving Equations

Lecture 5: Random numbers and Monte Carlo (Numerical Recipes, Chapter 7) Motivations for generating random numbers

Section 4.1: Polynomial Functions and Models

SF2822 Applied nonlinear optimization, final exam Saturday December

Exam 3 MATH Calculus I

Introductory Numerical Analysis

Math 1: Calculus with Algebra Midterm 2 Thursday, October 29. Circle your section number: 1 Freund 2 DeFord

Solving nonlinear equations (See online notes and lecture notes for full details) 1.3: Newton s Method

Math 3C Midterm 1 Study Guide

Turn off all noise-making devices and all devices with an internet connection and put them away. Put away all headphones, earbuds, etc.

3 UNIT 4: QUADRATIC FUNCTIONS -- NO CALCULATOR

Solution of Nonlinear Equations

Motivation: We have already seen an example of a system of nonlinear equations when we studied Gaussian integration (p.8 of integration notes)

Numerical Methods for Differential Equations Mathematical and Computational Tools

2-4 Zeros of Polynomial Functions

Homework and Computer Problems for Math*2130 (W17).

Transcription:

CS 323: Numerical Analysis and Computing MIDTERM #2 Instructions: This is an open notes exam, i.e., you are allowed to consult any textbook, your class notes, homeworks, or any of the handouts from us. You are not permitted to use laptop computers, cell phones, tablets, or any other hand-held electronic devices. Name NetID Part #1 Part #2 Part #3 Part #4 Part #5 TOTAL 1

1. [24% = 4 questions 6% each] MULTIPLE CHOICE SECTION. Circle or underline the correct answer (or answers). No justification is required for your answer(s). (a) What is the best reason one might want to use the Secant method instead of Newton s method (for solving f(x) = 0)? (Circle the ONE most correct answer.) i. It is always guaranteed to converge, while Newton s method is not. ii. The Secant method can be used without having a formula for f (x). iii. Newton s method exhibits slower convergence than the Secant method. (b) Which of these statements about the Bisection method are true? (Circle the TWO most correct answers.) i. In order to use the Bisection method, we need to have a continuous function f(x), with continuous derivative f (x). ii. The order of convergence for the Bisection method is linear. iii. We can use the Bisection method without any knowledge of the derivative f (x). (c) What happens if we use Newton s method to solve f(x) = 0, and the derivative f (x) happens to be zero at the exact location of the solution? (Circle the ONE most correct answer.) i. Newton s method should be avoided; the Secant method would be more robust in this case. ii. We may still be able to use Newton s method, if we have the explicit formula for f(x). However, the order of convergence would degrade to linear. iii. Newton s method would still have quadratic convergence, but we would need to start with an initial guess that is very close to the solution. (d) What would happen if we try to use an n-degree polynomial to interpolate n data points? (Circle the ONE most correct answer.) i. This is the normal case. A unique polynomial can be determined. ii. Such an interpolant generally exists, but it is not unique. iii. Such an interpolant will generally not exist. 2

2. [24% = 3 questions 8% each] SHORT ANSWER SECTION. Answer each of the following questions in no more than 2-3 sentences. (a) State (a) one advantage of the Vandermonde matrix method over Lagrange interpolation, and (b) one advantage of Newton interpolation over Lagrange interpolation. (b) Assuming the point sampling is fixed, why would we prefer using piecewise polynomial interpolation rather than a single global polynomial interpolant? (c) Give two reasons why the triangular matrix method for Newton interpolation might be preferable over the Vandermonde matrix method. 3

3. [16%] Assume that the fixed point iteration methods x k+1 = g(x k ) and x k+1 = h(x k ) are both guaranteed to converge in the same interval, and their order of convergence is quadratic. Would the fixed point iteration x k+1 = g(x k) + h(x k ) 2 also exhibit quadratic convergence or not? Explain. 4

5

4. [16%] Using Newton interpolation, find a cubic polynomial that interpolates the four points: ( 2, 5), ( 1, 6), (1, 8), (2, 3) 6

7

5. [20%] Consider the nonlinear equation f(x) = e 3x 2 = 0. Prove that Newton s method will always converge if started from a positive initial guess, and that convergence will be quadratic. Hint: If you write Newton s method in the form x k+1 = g(x k ), you can prove the first part of the question by showing that g(x) is a contraction for x > 0, and the second part by showing that g (a) = 0, where a is the solution. 8

9

10