MATHEMATICAL METHODS.

Slides:



Advertisements
Similar presentations
MATHEMATICS-I.
Advertisements

MATHEMATICS-I.
MATHEMATICAL METHODS. CONTENTS Matrices and Linear systems of equations Eigen values and eigen vectors Real and complex matrices and Quadratic forms Algebraic.
MATHEMATICS-I.
MATHEMATICS-I.
UNIT – VI NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
Numerical Integration
Interpolation A standard idea in interpolation now is to find a polynomial pn(x) of degree n (or less) that assumes the given values; thus (1) We call.
ES 240: Scientific and Engineering Computation. Chapter 17: Numerical IntegrationIntegration  Definition –Total area within a region –In mathematical.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
MATHEMATICAL METHODS. CONTENTS Matrices and Linear systems of equations Eigen values and eigen vectors Real and complex matrices and Quadratic forms Algebraic.
MATHEMATICS-I. CONTENTS  Ordinary Differential Equations of First Order and First Degree  Linear Differential Equations of Second and Higher Order 
Chapter 7 Numerical Differentiation and Integration
MATHEMATICAL METHODS. CONTENTS Matrices and Linear systems of equations Eigen values and eigen vectors Real and complex matrices and Quadratic forms Algebraic.
Read Chapter 17 of the textbook
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 30 Numerical Integration & Differentiation.
Newton-Cotes Integration Formula
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 26 Regression Analysis-Chapter 17.
MANE 4240 & CIVL 4240 Introduction to Finite Elements Numerical Integration in 1D Prof. Suvranu De.
EGR 105 Foundations of Engineering I Fall 2007 – week 7 Excel part 3 - regression.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 24 Regression Analysis-Chapter 17.
MATHEMATICAL METHODS. CONTENTS Matrices and Linear systems of equations Eigen values and eigen vectors Real and complex matrices and Quadratic forms Algebraic.
MATHEMATICAL METHODS. CONTENTS Matrices and Linear systems of equations Eigen values and eigen vectors Real and complex matrices and Quadratic forms Algebraic.
MATHEMATICS-I. CONTENTS  Ordinary Differential Equations of First Order and First Degree  Linear Differential Equations of Second and Higher Order 
NUMERICAL DIFFERENTIATION The derivative of f (x) at x 0 is: An approximation to this is: for small values of h. Forward Difference Formula.
MATHEMATICS-I. CONTENTS  Ordinary Differential Equations of First Order and First Degree  Linear Differential Equations of Second and Higher Order 
Calibration & Curve Fitting
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Part 6 Calculus.
Least-Squares Regression
CpE- 310B Engineering Computation and Simulation Dr. Manal Al-Bzoor
LINEAR REGRESSION Introduction Section 0 Lecture 1 Slide 1 Lecture 5 Slide 1 INTRODUCTION TO Modern Physics PHYX 2710 Fall 2004 Intermediate 3870 Fall.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 21 Newton-Cotes Integration Formula.
MECN 3500 Inter - Bayamon Lecture Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
1 Chapter 7 NUMERICAL INTEGRATION. 2 PRELIMINARIES We use numerical integration when the function f(x) may not be integrable in closed form or even in.
Numerical Differential & Integration. Introduction If a function f(x) is defined as an expression, its derivative or integral is determined using analytical.
ORDINARY DIFFERENTIAL EQUATION (ODE) LAPLACE TRANSFORM.
Lecture 22 - Exam 2 Review CVEN 302 July 29, 2002.
CISE301_Topic41 CISE301: Numerical Methods Topic 4: Least Squares Curve Fitting Lectures 18-19: KFUPM Read Chapter 17 of the textbook.
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Today’s class Spline Interpolation Quadratic Spline Cubic Spline Fourier Approximation Numerical Methods Lecture 21 Prof. Jinbo Bi CSE, UConn 1.
Interpolation and Approximation To the question, "Why approximate?", we can only answer, "Because we must!" Mathematical models of physical or natural.
Numerical Methods.
Chap. 11 Numerical Differentiation and Integration
Lecture 22 Numerical Analysis. Chapter 5 Interpolation.
Lecture 16 - Approximation Methods CVEN 302 July 15, 2002.
ACSL, POSTECH1 MATLAB 입문 CHAPTER 8 Numerical calculus and differential equations.
MATHEMATICAL METHODS. CONTENTS Matrices and Linear systems of equations Eigen values and eigen vectors Real and complex matrices and Quadratic forms Algebraic.
Fourier Approximation Related Matters Concerning Fourier Series.
CSE 330 Numerical Methods Lecture 05 Chapter 5: Numerical Differentiation Md. Omar Faruqe
Assignment 1: due 1/19/16 Estimate all of the zero of x3-x2-2x+1 graphically. Write a MatLab code for Newton’s method. Use your code to refine the graphical.
MATHEMATICS-I.
NUMERICAL DIFFERENTIATION Forward Difference Formula
Part 6 - Chapter 21.
Chapter 7 Numerical Differentiation and Integration
DIFFERENTIATION & INTEGRATION
Advanced Numerical Methods (S. A. Sahu) Code: AMC 51151
The Method of Least-Squares
NUMERICAL DIFFERENTIATION AND INTEGRATION
Numerical Analysis Lecture 27.
NUMERICAL DIFFERENTIATION AND INTEGRATION
Numerical Analysis Lecture 45.
Chapter 7 Numerical Differentiation and Integration
Linear regression Fitting a straight line to observations.
Numerical Analysis Lecture 23.
Numerical Analysis Lecture 26.
Discrete Least Squares Approximation
Least Square Regression
SKTN 2393 Numerical Methods for Nuclear Engineers
Assignment 1: due 1/17/19 Estimate all of the zero of x3-x2-2x+1 graphically. Write a MatLab code for Newton’s method. Use your code to refine the graphical.
Presentation transcript:

MATHEMATICAL METHODS

CONTENTS Matrices and Linear systems of equations Eigen values and eigen vectors Real and complex matrices and Quadratic forms Algebraic equations transcendental equations and Interpolation Curve Fitting, numerical differentiation & integration Numerical differentiation of O.D.E Fourier series and Fourier transforms Partial differential equation and Z-transforms

TEXT BOOKS 1.Mathematical Methods, T.K.V.Iyengar, B.Krishna Gandhi and others, S.Chand and company Mathematical Methods, C.Sankaraiah, V.G.S.Book links. A text book of Mathametical Methods, V.Ravindranath, A.Vijayalakshmi, Himalaya Publishers. A text book of Mathametical Methods, Shahnaz Bathul, Right Publishers.

REFERENCES 1. A text book of Engineering Mathematics, B.V.Ramana, Tata Mc Graw Hill. 2.Advanced Engineering Mathematics, Irvin Kreyszig Wiley India Pvt Ltd. 3. Numerical Methods for scientific and Engineering computation, M.K.Jain, S.R.K.Iyengar and R.K.Jain, New Age International Publishers Elementary Numerical Analysis, Aitkison and Han, Wiley India, 3rd Edition, 2006.

UNIT HEADER Name of the Course:B.Tech Code No:07A1BS02 Year/Branch:I Year CSE,IT,ECE,EEE,ME, Unit No: V No.of slides:29

UNIT INDEX UNIT-V S.No. Module Lecture No. PPT Slide No. 1 Curve Fitting L1-7 8-18 2 Numerical Differentiation L8-12 19-25 3 Numerical Integration L13-16 26-29

UNIT – V PART – A CURVE FITTING

LECTURE-1 INTRODUCTION : In interpolation, We have seen that when exact values of the function Y=f(x) is given we fit the function using various interpolation formulae. But sometimes the values of the function may not be given. In such cases, the values of the required function may be taken experimentally. Generally these expt. Values contain some errors. Hence by using these experimental values . We can fit a curve just approximately which is known as approximating curve.

Now our aim is to find this approximating curve as much best as through minimizing errors of experimental values this is called best fit otherwise it is a bad fit. In brief by using experimental values the process of establishing a mathematical relationship between two variables is called CURVE FITTING.

LECTURE-2 METHOD OF LEAST SQUARES Let y1, y2, y3 ….yn be the experimental values of f(x1),f(x2),…..f(x n) be the exact values of the function y=f(x). Corresponding to the values of x=xo,x1,x2….x n .Now error=experimental values –exact value. If we denote the corresponding errors of y1, y2,….yn as e1,e2,e3,…..en , then e1=y1-f(x1), e2=y2-f(x2 )

e3=y3-f(x3)……. en=yn-f(xn) e3=y3-f(x3)…….en=yn-f(xn).These errors e1,e2,e3,……en,may be either positive or negative.For our convenient to make all errors into +ve to the square of errors i.e e12,e22,……en2.In order to obtain the best fit of curve we have to make the sum of the squares of the errors as much minimum i.e e12+e22+……+en2 is minimum.

METHOD OF LEAST SQUARES Let S=e12+e22+……+en2, S is minimum.When S becomes as much as minimum.Then we obtain a best fitting of a curve to the given data, now to make S minimum we have to determine the coefficients involving in the curve, so that S minimum.It will be possible when differentiating S with respect to the coefficients involving in the curve and equating to zero.

LECTURE-3 FITTING OF STRAIGHT LINE Let y = a + bx be a straight line By using the principle of least squares for solving the straight line equations. The normal equations are ∑ y = na + b ∑ x ∑ xy = a ∑ x + b ∑ x2 solving these two normal equations we get the values of a & b ,substituting these values in the given straight line equation which gives the best fit.

LECTURE-4 FITTING OF PARABOLA Let y = a + bx + cx2 be the parabola or second degree polynomial. By using the principle of least squares for solving the parabola The normal equations are ∑ y = na + b ∑ x + c ∑ x2 ∑ xy = a ∑ x + b∑ x2 + c ∑ x3 ∑ x2y = a ∑ x2 + b ∑ x3 + c ∑ x4 solving these normal equations we get the values of a,b & c, substituting these values in the given parabola which gives the best fit.

LECTURE-5 FITTING OF AN EXPONENTIAL CURVE The exponential curve of the form y = a ebx taking log on both sides we get logey = logea + logee bx logey = logea + bx logee logey = logea + bx

Y = A+ bx Where Y = logey, A= logea This is in the form of straight line equation and this can be solved by using the straight line normal equations we get the values of A & b, for a =eA, substituting the values of a & b in the given curve which gives the best fit.

EXPONENTIAL CURVE The equation of the exponential form is of the form y = abx taking log on both sides we get log ey = log ea +log ebx Y = A + Bx where Y= logey, A= logea , B= logeb this is in the form of the straight line equation which can be solved by using the normal equations we get the values of A & B for a = eA b = eB substituting these values in the equation which gives the best fit.

LECTURE-7 FITTING OF POWER CURVE Let the equation of the power curve be y = a xb taking log on both sides we get log ey = logea + log exb Y = A + Bx this is in the form of the straight line equation which can be solved by using the normal equations we get the values of A & B, for a = eA b= eB, substituting these values in the given equation which gives the best fit.

LECTURE-8 NUMERICAL DIFFERENTIATION The process by which we can find the derivative of a function i.e dy/dx for some particular value of independent variable x is called Numerical Differentiation. The problem of numerical differentiation are to be solved by approximating the function using interpolation formula and then differentiating this formula as many times as desired.

LECTURE-9 NEWTON’S FORMULA If the values of the argument are equally spaced and if the derivative is required for some values of given x lying in the begin of the table, we can represent the function by Newton- Gregory forward interpolation formula. If the value of dy/dx is required at a point near the end of the table, we have to use Newtons backward formula.

LECTURE-10 CENTRAL DIFFERENCE If the derivative dy/dx is to be found at some point lying near the middle of the tabulated value we have to use central difference interpolation formula While applying these formulae, it must be observed that the table of values defines the function at these points only and does not completely define the function and hence the function may not be differentiable at all.

Derivatives by using Forward Difference Formula : The first order derivative of the function is given by (dy/dx)x=xo = 1/h (∆yo – 1/2∆2yo + 1/3 ∆3yo- ¼ ∆4yo + ………) (d2x/dy2)x=xo= 1/h2 (∆2yo – ∆3yo + 11/12 ∆4yo- 5/6 ∆5yo + ………)

LECTURE-11 Derivatives by using Backward Difference Formula : The first order derivative of the function is given by (dy/dx)x=xn = 1/h( yn+1/2 2yn+1/3 3yn+1/4 4yn+……………..) (d2y/dx2)x=xn = 1/h( 2yn+ 3yn+11/12 4yn+5/6 5yn+……………..)

LECTURE-12 Striling’s formula is given by using central difference is (dy/dx)x=xo = 1/h ( ∆y0 +∆y-1/2 – 1/6 ∆3y-1+∆3y-2 /2 + 1/30 ∆5y-2+ ∆5y-3/2 +……..)

LECTURE-13 NUMERICAL INTEGRATION Numerical Integration is a process of finding the value of a definite integral.When a function y = f(x) is not known explicity. But we give only a set of values of the function y = f(x) corresponding to the same values of x. This process when applied to a function of a single variable is known as a quadrature.

NUMERICAL INTEGRATION For evaluating the Numerical Integration we have three important rules i.e Trapezoidal Rule Simpsons 1\3 Rule Simpsons 3\8 th Rule

LECTURE-14 NUMERICAL INTEGRATION Trapezoidal Rule : The Trapezoidal Rule of the function y = f(x) is given by f (x ) dx= h\2 ( y0 + yn ) + 2 ( y1 + y2 + y3+….+ yn-1 ) f (x ) dx = h\2 (sum of the first and last terms ) + ( sum of the remaining terms )

LECTURE-15 NUMERICAL INTEGRATION Simpson’s 1\3 rd Rule : The Simpson’s 1\3 rd Rule of the function f ( x ) is given by f ( x ) dx = h/3 ( y0 + yn ) + 4 ( y1 + y3 + y5 + …..yn-1 ) + 2 ( y2 + y4 + y6 + …..)

LECTURE-16 NUMERICAL INTEGRATION Simpson’s 3/8 th Rule : The Simpson’s 3/8 th rule for the function f ( x ) isgiven by f ( x ) dx = 3h/8 ( y0 + yn ) + 2 ( y3 + y6 + y9 + ……) + 3 ( y1 + y2 +y4 +……) f (x ) dx = 3h/8 ( sum of the first and the last term) + 2 ( multiples of three ) + 3 ( sum of the remaining terms )