CS 2262: Numerical Methods Schedule: TTh 3:10-4:30 Room: Turead 0229 Instructor: Rahul Shah Office: 285 Coates Phone: 578-4355 Office Hours: Wed 2:30-4:30,

Slides:



Advertisements
Similar presentations
Chapter 6 Matrix Algebra.
Advertisements

Differential Equations Brannan Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 08: Series Solutions of Second Order Linear Equations.
Lecture 7: Basis Functions & Fourier Series
Lotka-Volterra, Predator-Prey Model J. Brecker April 01, 2013.
Boyce/DiPrima 10th ed, Ch 10.1: Two-Point Boundary Value Problems Elementary Differential Equations and Boundary Value Problems, 10th edition, by William.
NUMERICAL DIFFERENTIATION AND INTEGRATION
Dr. Mubashir Alam King Saud University. Course Information Course Instructors: Dr. Mubashir Alam Contact Information: Office: 2C-98 Phone:
A Workshop on Subject GRE / AGRE Maths in 9 Classes, II Hours each Day & Three mock tests for AGRE By: Satyadhar Joshi
Chapter 4 Roots of Equations
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Course outline and schedule Introduction Event Algebra (Sec )
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Course outline and schedule Introduction (Sec )
Mathematical Modeling in Biology:
7 INVERSE FUNCTIONS. The common theme that links the functions of this chapter is:  They occur as pairs of inverse functions. INVERSE FUNCTIONS.
1 Chapter 2 Limits and Continuity Rates of Change and Limits.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW II.
Why Function Optimization ?
Spring 2012 MATH 250: Calculus III. Course Topics Review: Parametric Equations and Polar Coordinates Vectors and Three-Dimensional Analytic Geometry.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Part 6 Calculus.
Scientific Computing Algorithm Convergence and Root Finding Methods.
MECN 3500 Inter - Bayamon Lecture Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Numerical Computation Lecture 0: Course Introduction Dr. Weifeng SU United International College Autumn 2010.
General information CSE : Probabilistic Analysis of Computer Systems
Rolle’s theorem and Mean Value Theorem ( Section 3.2) Alex Karassev.
Chapter 4: Applications of Derivatives Section 4.2: Mean Value Theorem
Continuity ( Section 1.8) Alex Karassev. Definition A function f is continuous at a number a if Thus, we can use direct substitution to compute the limit.
EE 3561_Unit_1(c)Al-Dhaifallah EE 3561 : - Computational Methods in Electrical Engineering Unit 1: Introduction to Computational Methods and Taylor.
CSE 541 Rick Parent ELEMENTARY NUMERICAL METHODS Winter 2012.
Announcements Topics: -finish section 4.2; work on sections 4.3, 4.4, and 4.5 * Read these sections and study solved examples in your textbook! Work On:
Block 4 Nonlinear Systems Lesson 14 – The Methods of Differential Calculus The world is not only nonlinear but is changing as well 1 Narrator: Charles.
Lecture 1 - Introduction June 3, 2002 CVEN 302. Lecture’s Goals General Introduction to CVEN Computer Applications in Engineering and Construction.
Section 5.6 Integration: “The Fundamental Theorem of Calculus”
Part 0 -- Introduction Statistical Inference and Regression Analysis: Stat-GB , C Professor William Greene Stern School of Business IOMS.
Boyce/DiPrima 9 th ed, Ch 5.1: Review of Power Series Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce.
CSE 3802 / ECE 3431 Numerical Methods in Scientific Computation
Welcome to Numerical Analysis Math 448/548 Cpt S 430/530 Fall 2015 Instructor: John Miller, West 134E Class web page can be found.
Boyce/DiPrima 9th ed, Ch 4.2: Homogeneous Equations with Constant Coefficients Elementary Differential Equations and Boundary Value Problems, 9th edition,
1 Solution of Nonlinear Equation Dr. Asaf Varol
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Introduction Course Outline.
Numerical Methods.
1.4 Continuity  f is continuous at a if 1. is defined. 2. exists. 3.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapter 21.
13.2 Integration by Substitution. Let w be the inside function Write Do cross-multiply Back to the given integral and do the substitution Take the integral.
Section 4.2 Mean Value Theorem What you’ll learn Mean Value Theorem Physical Interpretation Increasing and Decreasing Functions Other Consequences Why?
Advanced Engineering Mathematics, 7 th Edition Peter V. O’Neil © 2012 Cengage Learning Engineering. All Rights Reserved. CHAPTER 4 Series Solutions.
NUMERICAL ANALYSIS Numerical analysis involves the study of methods of computing numerical data. The study actually involves the design, analysis, and.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
Welcome to Numerical Analysis Math 448/548 Cpt S 430/530 Fall 2016 Instructor: John Miller, West 134E Class web page can be found.
MTH 204 NUMERICAL ANALYSIS Spring Term MTH 204 NUMERICAL ANALYSIS Spring Term DEPARTMENT of INFORMATION TECHNOLOGIES Assoc. Prof. Dr.
MTH Spring Term NUMERICAL ANALYSIS Spring Term MTH Spring Term NUMERICAL ANALYSIS Spring Term INTERNATIONAL.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 5 Integration and Differentiation.
Senior Seminar in Mathematics Math 495 Course Syllabus Class Periods: 2:30pm-3:45pm TR Classroom: Thompson Hall 303 Instructor: Mei Q. Chen, Thompson Hall.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
MA2213 Lecture 9 Nonlinear Systems. Midterm Test Results.
Introduction to Modeling Technology Enhanced Inquiry Based Science Education.
Announcements Topics: -sections (differentiation rules), 5.6, and 5.7 * Read these sections and study solved examples in your textbook! Work On:
DYNAMIC BEHAVIOR OF PROCESSES :
Announcements Topics: -sections 7.3 (definite integrals), 7.4 (FTC), and 7.5 (additional techniques of integration) * Read these sections and study solved.
Scientific Computing: Does Anyone Care? Alan Kaylor Cline Department of Computer Sciences The University of Texas at Austin October 30, 2008 ACM 101 Lecture.
4.2 The Mean Value Theorem State Standard
MATH/COMP 340: Numerical Analysis I
Chapter 7. Classification and Prediction
Part 6 - Chapter 21.
Announcements Topics: Work On:
MATH 2140 Numerical Methods
Continuity Alex Karassev.
Lecture 0: Introduction
SKTN 2393 Numerical Methods for Nuclear Engineers
Copyright © Cengage Learning. All rights reserved.
MATH 1910 Chapter 3 Section 8 Newton’s Method.
Presentation transcript:

CS 2262: Numerical Methods Schedule: TTh 3:10-4:30 Room: Turead 0229 Instructor: Rahul Shah Office: 285 Coates Phone: Office Hours: Wed 2:30-4:30, Th Web: Text: Atkinson and Han, Elementary Numerical Analysis, 3rd edition, John Wiley & Sons, Inc., 2004 Grader: ?

Grading Midterm : 30 % Final : 30% Homework/Project: = 35% Class Participation : 5% Relative – on the curve Homeworks will involve writing Matlab programs …about 4 to 5 of them Mini project will involve solving real-life problem using Matlab and/or C

Prerequisites and Background Math 1552 and CS 1251 or 1351 or 2290 The course will involve concepts from –Calculus –Linear Algebra Programming –Matlab –C

Applications of this course Numerical Methods Data Mining Algorithms/Optimization Solving large scale systems Sales data Search Engines Network problems Fluid dynamics Stock Market

Course Contents Foundations: Calculus, Computer Architecture, Matlab Taylor Series Root Finding Polynomial Interpolation Numerical Integration/Differentiation Linear Equations/Matrices Differential Equations

Overview Taylor Series –Evaluationg functions like sin x, e x etc –Processors only have support for additions and multiplications –Errors involved, number of iterations needed

Overview: Root finding Reverse process of evaluating the function Given function f, find the value of x such that f(x) = 0 Methods for general functions Methods for polynomials Rate of convergence

Interpolation Given a set of points (x 1, y 1 ), (x 2, y 2 ), …, (x n, y n ) –Find a polynomial which passes through them –Find a line which fits these the best –Find a smooth curve which passes through them

Matrices Given a set of n linear equations in variables x 1, x 2, x 3, …, x n –Find the values of x i s –Find best values of x i s Linear programming, Optimization Find Eigenvalues of the matrix –Google –Differential Equations

Differential Equations Modelling/Simulations of Engineering systems Population Modeling Financial Models, Stocks/Options pricing

Motivation1: Modelling Traditionally, engineering and science had a two-sided approach to understanding a subject: the theoretical and the experimental. More recently, a third approach has become equally important: the computational. Traditionally we would build an understanding by building theoretical mathematical models, and we would solve these for special cases. For example, we would study the flow of an incompressible irrotational fluid past a sphere, obtaining some idea of the nature of fluid flow. But more practical situations could seldom be handled by direct means, because the needed equations were too difficult to solve. Thus we also used the experimental approach to obtain better information about the flow of practical fluids. The theory would suggest ideas to be tried in the laboratory, and the experiemental results would often suggest directions for a further development of theory.

Modeling contd Theoretical Science Experimental Science Computational Science

Modeling: Population This is the simplest model for population growth. Let N(t) denote the number of individuals in a population (rabbits, people, bacteria, etc). Then we model its growth by –N’(t) = cN(t), t≥ 0, N(t 0 ) = N 0 The constant c is the growth constant, and it usually must be determined empirically. Over short periods of time, this is often an accurate model for population growth. For example, it accurately models the growth of US population over the period of 1790 to 1860, with c =

Population Data

Predator-Prey Let F(t) denote the number of foxes at time t; and let R(t) denote the number of rabbits at time t. A simple model for these populations is called the Lotka-Volterra predator-prey model: –dR/dt = a [1 − bF(t)] R(t) –dF/dt = c [−1 + gR(t)] F(t) –with a, b, c, g positive constants. If one looks carefully at this, then one can see how it is built from the logistic equation. In some cases, this is a very useful model and agrees with physical experiments. Of course, we can substitute other interpretations, replacing foxes and rabbits with other predator and prey. The model will fail, however, when there are other populations that affect the first two populations in a significant way.

Motivation2: Google Term frequency, location, meaning based search engines : Altavista, Lycos etc Spamming Google used social concepts to reduce effect of spamming A webpage is good if many good webpages link to it So how to find goodness score

Google contd.. Say there a n webpages Construct a n x n probability matrix –With A[i,j] = likelihood that a user will jump to page j from i Find dominant eigenvalue of this matrix Corresponding eigenvector gives the goodness scores How to solve the problem on such a large scale, which method to use, how many iterations, etc

Foundations: Calculus Intermediate Value Theorem Mean Value Theorem Extended Mean Value Theorem Integral Mean Value Theorem

Intermediate Value Theorem Let f(x) be a continuous function in interval a ≤ x ≤ b, –Let M = max f(x) in the interval [a,b] –Let m = min f(x) in [a,b] Then, for any value v such that m ≤ v ≤ M –There is at least one point c such that f(c) = v.

IVT

Mean Value Theroem Let f(x) be continuous and differentiable on [a,b] Then there is at least one point c in (a,b) –Such that f(b) – f(a) = f’(c) (b-a)

MVT

Extension Let f(x) be continuous and n-times differentiable on [a,b] –Then there is c such that f(b) = f(a) + f’(c)(b-a) –There is d such that f(b) = f(a) + f’(a) (b-a) + f’’(d) (b-a) 2 /2 –….. –There is t in [a,b], such that f(b) = f(a) + f’(a)(b- a) + f’’(a) (b-a) 2 /2 …+ f (n-1) (a) (b-a) n-1 /(n-1)! + f ( n) (t) (b-a) n /n!