INTRODUCTION, FOUNDATIONS

Similar documents
SOLVING EQUATIONS OF ONE VARIABLE

Numerical Methods. King Saud University

NEW RIVER COMMUNITY COLLEGE DUBLIN, VIRGINIA COURSE PLAN

MATH 345 Differential Equations

Analysis Methods in Atmospheric and Oceanic Science

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

Analysis Methods in Atmospheric and Oceanic Science

Applied Numerical Analysis

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

Course Information 2DM60 Wiskunde II (Mathematics II, code 2DM60)

Hani Mehrpouyan, California State University, Bakersfield. Signals and Systems

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

Today s class. Linear Algebraic Equations LU Decomposition. Numerical Methods, Fall 2011 Lecture 8. Prof. Jinbo Bi CSE, UConn

Lecture 44. Better and successive approximations x2, x3,, xn to the root are obtained from

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

MATH-3150H-A: Partial Differential Equation 2018WI - Peterborough Campus

Nonlinear Equations and Continuous Optimization

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

INFORMATION ABOUT THE COURSE

Numerical Methods I Solving Nonlinear Equations

ECE 516: System Control Engineering

Preface. Figures Figures appearing in the text were prepared using MATLAB R. For product information, please contact:

Linear Algebra. Instructor: Justin Ryan

Quinsigamond Community College School of Math and Science

ORF 363/COS 323 Final Exam, Fall 2018

Department of Physics & Astronomy Trent University

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

MA 580; Numerical Analysis I

ELECTROMAGNETIC THEORY

Columbus State Community College Mathematics Department Public Syllabus

Honors Algebra II / Trigonometry

Methods of Mathematics

Lecture 5. September 4, 2018 Math/CS 471: Introduction to Scientific Computing University of New Mexico

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

Ch. 2: Lec. 1. Basics: Outline. Importance. Usages. Key problems. Three ways of looking... Colbert on Equations. References. Ch. 2: Lec. 1.

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

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)

Lecture 1/25 Chapter 2

PELLISSIPPI STATE TECHNICAL COMMUNITY COLLEGE MASTER SYLLABUS CALCULUS III MATH 2110

Class Notes 0: Class Information. MAE 82 Engineering Mathematics

Midterm Review. Igor Yanovsky (Math 151A TA)

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS DEVELOPMENTAL MATHEMATICS DSPM Credit Hours: 0 (credit is assigned to the required modules)

Numerical techniques to solve equations

Education Council Proposal: Re-articulation and Prerequisite changes for Advanced Algebraic Mathematics (MATH 045)

Lösning: Tenta Numerical Analysis för D, L. FMN011,

AIMS Exercise Set # 1

CS 221 Lecture 9. Tuesday, 1 November 2011

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

ASSIGNMENT BOOKLET. Numerical Analysis (MTE-10) (Valid from 1 st July, 2011 to 31 st March, 2012)

MATH 135 PRE-CALCULUS: ELEMENTARY FUNCTIONS COURSE SYLLABUS FALL 2012

PHYS100 General Physics - Mechanics and Thermodynamics Fall

Numerical Analysis Preliminary Exam 10 am to 1 pm, August 20, 2018

Math 1190/01 Calculus I Fall 2007

Mon Jan Improved acceleration models: linear and quadratic drag forces. Announcements: Warm-up Exercise:

Two years of high school algebra and ACT math score of at least 19; or DSPM0850 or equivalent math placement score.

FALL 2018 MATH 4211/6211 Optimization Homework 4

MATH20602 Numerical Analysis 1

Math 70 and 95 Master Syllabus Beginning and Intermediate Algebra, 5th ed., Miller, O Neill, Hyde with ALEKS.

Chapter 1 Mathematical Preliminaries and Error Analysis

COURSE OUTLINE MATH 050 INTERMEDIATE ALGEBRA 147 HOURS 6 CREDITS

Process Fluid Mechanics

NUMERICAL ANALYSIS WEEKLY OVERVIEW

SOUTHERN UNIVERSITY and A&M COLLEGE DEPARTMENT OF MATHEMATICS MATH 395 CALCULUS III AND DIFFERENTIAL EQUATIONS FOR JUNIOR ENGINEERING MAJORS

Simple Iteration, cont d

Wednesday, 10 September 2008

Outline. Wednesday, 10 September Schedule. Welcome to MA211. MA211 : Calculus, Part 1 Lecture 2: Sets and Functions

CENTRAL TEXAS COLLEGE SYLLABUS FOR MATH 2318 Linear Algebra. Semester Hours Credit: 3

Introduction to Numerical Analysis

Section Instructors: by now you should be scheduled into one of the following Sections:

Emerging Issues in Geographic Information Science (GEP680): Projections, Scale, Accuracy, and Interpolation Lehman College, Spring 2017

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat.

MATH College Algebra 3:3:1

1 Solutions to selected problems

Solution of Algebric & Transcendental Equations

Homework 2. Matthew Jin. April 10, 2014

Course: Math 111 Pre-Calculus Summer 2016

Math Partial Differential Equations

Math Numerical Analysis Mid-Term Test Solutions

Course Content (visit for details)

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS

Scientific Computing. Roots of Equations

Math/EECS 1028M: Discrete Mathematics for Engineers Winter Suprakash Datta

Course Name: Engineering Mathematics (2)

Course Information Course Overview Study Skills Background Material. Introduction. CS 205A: Mathematical Methods for Robotics, Vision, and Graphics

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

MATH COURSE TITLE: College Algebra

AE 200 Engineering Analysis and Control of Aerospace Systems

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

MATH 3795 Lecture 13. Numerical Solution of Nonlinear Equations in R N.

University of Wisconsin-Eau Claire CHEM 103: General Chemistry- Syllabus Spring 2014

9.6 Predictor-Corrector Methods

Chapter 3: Root Finding. September 26, 2005

Math 113 (Calculus 2) Exam 4

Letter Grades A+! % B+! % C+!64 67 % D! % A! % B! % C! % F! 0 49 % A! % B! % C!55 59 % Did not write

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

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.

NHTI Concord s Community College 31 College Drive Concord, NH

Mathematics, Advanced Level MATH 080 Adult Education/Adult Upgrading Program. Course Outline

STATISTICAL AND THERMAL PHYSICS

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

Transcription:

1 INTRODUCTION, FOUNDATIONS ELM1222 Numerical Analysis Some of the contents are adopted from Laurene V. Fausett, Applied Numerical Analysis using MATLAB. Prentice Hall Inc., 1999

2 Today s lecture Information about the course What is numerical analysis? Applied Problems Numerical Techniques Analysis

3 Information about the course Course Information Instructor: Dr. Muharrem Mercimek Office: A-216 Office Hours: Monday 13:00-16:00 Class Location: C-150 Group: 1-2 Course Materials: http://www.yildiz.edu.tr/~mercimek Email: muharrem.mercimek@gmail.com, mercimek@yildiz.edu.tr

4 Information about the course Textbook and course Materials Main Text Book: Laurene V. Fausett, Applied Numerical Analysis using MATLAB. Prentice Hall Inc., 1999 OR Laurene V. Fausett, Applied Numerical Analysis using MATLAB. 2 nd Ed., Pearson Inc., 2007.

5 Information about the course Grading Assignments: 15% Class Attendance: 10% Exams: 75% Assignments There will be individual programming assignments and these will be listed on the schedule page. Due dates will be specified and the students should submit their material on time. Program submissions should be the outcome of each student s own endeavors. Collaborative study is encouraged, but any code and document you prepare must be your own. Submissions must include source codes as well as the documentations and data files when needed. When submitting your Assignments via e-mail always zip it, and name it like ELM1222_YourName_YourNumber_AssignmentNumber.{zip or rar} When submitting an assignment always put a subject title relevant to why you are sending it. You can use the name of your zip file again.

KOM1042 Discrete Mathematics Dr Muharrem Mercimek 6 Information about the course Week Subjects Preparation 1 Introduction, Foundations Textbook Ch1 2 Solving Equations of one Variable Textbook Ch2 3 Linear Equation System Solution - Direct Methods Textbook Ch3 4 Linear Equation System Solution - iterative Methods Textbook Ch4 5 LU Factorization Textbook Ch6 6 Eigenvalues, Eigenvectors Textbook Ch7 7 Mid-term 1 8 QR factorization Textbook Ch8 9 Interpolation Textbook Ch9 10 Function Approximation I Textbook Ch10 11 Function Approximation II Textbook Ch10 12 Mid-term 2 13 Numerical Differentiation and Integration I Textbook Ch11 14 Numerical Differentiation and Integration II Textbook Ch11 15 Final Exam

7 Information about the course Programming environment MATLAB 2008 or higher with basic toolboxes, when needed. Academic Honesty Any misconduct in this course is considered a serious offense and strong penalties will be the results of such behaviors. It is cheating to copy others code. Fake program outputs and documents is also considered as cheating.

8 FOUNDATIONS Some of the contents are adopted from Laurene V. Fausett, Applied Numerical Analysis using MATLAB. Prentice Hall Inc., 1999

9 Applied Problems Nonlinear Functions To illustrate the types of problems for which a numerical solution may be desired. There are problems we can solve with algebra or calculus On the other hand there closely related problems for which not exact solution can be found The zeros of y = x 2 3 can be found exactly by quadratic formula But there is no such method for most non-linear functions It is proven that no formula exist for 5 th order functions-polynomials. In Numerical Analysis there are many methods to approximate the zeros of nonlinear functions (bisection, newton, etc.)

10 Applied Problems Linear Systems 4x 1 + x 2 = 6 x 1 + 5x 2 = 9 A = 4 1 1 5 x = x 1 x 2 b == 6 9 Ax = b The solution is not straightforward. We can apply some numerical techniques. Gaussian elimination systematically transforms the system to an equivalent system. If the Gaussian elimination could be carried out exactly the main issue would be computational efficiency.

11 Applied Problems Numerical Integrations Fundamental theorem of calculus states that the definite integral of a function can be from the ant-derivative of the function. For many functions it is easier to employ numerical techniques for finding definite integrals. We can approximate the function to be integrated 3 1 1 x 3 dx

12 Some Numerical Techniques- Fixed point Iteration Fixed-point iteration To find the square root of a positive number c Rewrite the equation x 2 = c as an implicit equation Root of 3 Fixed point form x = g x = 1 2 x + c x Starting with initial guess x0 Evaluate the function up to an iteration number or until the update is so small x 1 = 1 2 (x 0 + c x 0 ) x k = 1 2 (x k 1 + c x k 1 )

13 Some Numerical Techniques- Gaussian Elimination 4x 1 + x 2 = 6 x 1 + 5x 2 = 9 A = 4 1 1 5 x = x 1 x 2 b == 6 9 Ax = b r1: r2: 4 1 1 5 6 9 r1 0.25 r1 + r2 4 1 0 5.25 6 10.5 x 2 = 10.5 5.25 = 2, x 1 = 6 2 4 = 1

Some Numerical Techniques- Trapezoid Rule Approximates the definite integral a b f(x) dx b f(x) a dx h (f a + f b ) 2 Approximation of 3 1 dx 1 x 3 14 Accuracy depends on the length of the interval over which the approximation is imposed (i.e., on the value of h) Influenced by the characteristics of the function f

15 Analysis-Convergence For iterative methods Does the process converge? When do we stop? x = g x = cos x x 0 = 0.5 x = g x = 1 x 3 x 0 = 0.5

16 Analysis-when to stop the iteration If the numerical technique uses an iterative process, the iterations can be stopped after a while a) If absolute difference of the exact solution and the approximation at k. iteration is in within a specified tolerance x x k < tol1 (normally x* is not known when using a numerical technique) b) If absolute difference from one iteration to the other is in within a specified tolerance x k x k 1 < tol2 c) It the iteration number reaches to a maximum iteration number iter < iteration_number

17 Analysis-is the result good? a) Complexity of the approximation Let the approximation error be error = x x k or error = (x x k ) For some numerical techniques we have to limit the number of terms towards approximation. e.g: Taylor expansion is f x + h = f x + h. f x + h2 2! f x + h3 3! f x + + hn n! f(n) x Where f (n) ( ) denotes the nth derivative of f( ) f x is a function of x f x + h is a function of x+h (h is a small value) Taylor expansion puts the relationship between f x and f x + h For approximation of f x + h f h = 1 + h + h2 + h3 + + hn 2! 3! n! terms and omit the others = e x+h around x = 0 with a small h infinite number of terms but instead we can involve with a number of f h = 1 + h + h2 + h3 + O 2! 3! h4 here we omit the sum of the remaining terms denoted with O h 4 O( ) describes the error with limiting number of terms in use.

18 Analysis- is the result good? b) Floating Point Representation error On a computer we can represent integer numbers easily 255 is always 255. When it comes to the real numbers they have to be represented approximately. The value of pi as an example can only be approximated differently when represented with different number of digits. This brings an error in the approximation because numbers used are different.

19 Analysis - Round-off error c) Round off Errors During calculations/computing sometimes we round the number Rounding to 3 most significant digits after the decimal point 0,9900+0.0044+0.0042 the calculations when rounding: (0,9900+0.0044)+0.0042 =0.994+0.004=0.998 Or 0,9900+(0.0044+0.0042)=0.990+0.009=0.999 In a numerical analysis these two number will lead to different calculations/computing kucg.korea.ac.kr