MATH 2140 Numerical Methods

Slides:



Advertisements
Similar presentations
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
Advertisements

Chapter 18 Interpolation The Islamic University of Gaza
CITS2401 Computer Analysis & Visualisation
Regression Regression: Mathematical method for determining the best equation that reproduces a data set Linear Regression: Regression method applied with.
Curve Fitting and Interpolation: Lecture (IV)
Function Approximation
Least Square Regression
Curve-Fitting Regression
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 26 Regression Analysis-Chapter 17.
Least Square Regression
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 17 Least Square Regression.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 23 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 24 Regression Analysis-Chapter 17.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 171 CURVE.
Chapter 6 Numerical Interpolation
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 21 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
CpE- 310B Engineering Computation and Simulation Dr. Manal Al-Bzoor
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression Chapter.
MECN 3500 Inter - Bayamon Lecture Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
CMPS1371 Introduction to Computing for Engineers NUMERICAL METHODS.
Curve Fitting and Interpolation: Lecture (I)
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
CHAPTER 1 LESSON 3 & 4 MATH IN SCIENCE + GRAPHS. WHAT ARE SOME MATH SKILLS USED IN SCIENCE? SOME MATH SKILLS USED IN SCIENCE WHEN WORKING WITH DATA INCLUDE.
Chapter 8 Curve Fitting.
Curve-Fitting Regression
Interpolation produces a function that matches the given data exactly. The function then can be utilized to approximate the data values at intermediate.
Regression Regression relationship = trend + scatter
7-3 Line of Best Fit Objectives
Lecture 16 - Approximation Methods CVEN 302 July 15, 2002.
Computer Programming (TKK-2144) 13/14 Semester 1 Instructor: Rama Oktavian Office Hr.: M.13-15, W Th , F
Math 4030 – 11b Method of Least Squares. Model: Dependent (response) Variable Independent (control) Variable Random Error Objectives: Find (estimated)
Curve Fitting Pertemuan 10 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Principles of Extrapolation
Curve Fitting Introduction Least-Squares Regression Linear Regression Polynomial Regression Multiple Linear Regression Today’s class Numerical Methods.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Curve Fitting ~ Least Squares Regression.
Math 495B Polynomial Interpolation Special case of a step function. Frederic Gibou.
Welcome to Calculating the line of best fit for data (linear regression) Claude Zanardo.
Fitting Lines to Data Points: Modeling Linear Functions Chapter 2 Lesson 2.
Interpolation - Introduction
Introduction to Numerical Methods Mathematical Procedures
Part 5 - Chapter
Part 5 - Chapter 17.
Chapter 18.
Math in Science + Graphs
Sig Fig Math and Measurement
INTERPOLATION Prof. Samuel Okolie, Prof. Yinka Adekunle & Dr
Chapter 12 Curve Fitting : Fitting a Straight Line Gab-Byung Chae
Part 5 - Chapter 17.
Linear Regression.
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Today’s class Multiple Variable Linear Regression
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Linear regression Fitting a straight line to observations.
Major: All Engineering Majors Authors: Autar Kaw, Luke Snyder
MATH 2140 Numerical Methods
Nonlinear Fitting.
Discrete Least Squares Approximation
Least Square Regression
Mechanical Engineering Majors Authors: Autar Kaw, Luke Snyder
SKTN 2393 Numerical Methods for Nuclear Engineers
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Theory of Approximation: Interpolation
Presentation transcript:

MATH 2140 Numerical Methods Faculty of Engineering Mechanical Engineering Department MATH 2140 Numerical Methods Instructor: Dr. Mohamed El-Shazly Associate Prof. of Mechanical Design and Tribology melshazly@ksu.edu.sa Office: F072

Curve-Fitting Polynomial Interpolation

Outline Introduction Curve Fitting? Interpolation?

Introduction Curve fitting? – To fit a smooth and continuous function (curve) to the available discrete data. A familiar example: In the Free-fall lab in General Physics I, you are asked to fit a function (quadratic) to the data of position v.s. time. Two approaches: Collocation: The approximating function passes through all the data points. Usually used when the data are known to be accurate. Least-square regression: The approximating curve represents the general trend of the data. Usually used when the data appear to have significant error. Figure 5.1 Collocation-Fitting polynomials

Table_6-1

Fig_6-1

Interpolation? Interpolation is a procedure for estimating a value between known values of data points. It is done by first determining a polynomial that gives the exact value at the data points, and then using the polynomial for calculating values between the points.

Fig_6-2 Figure 6-2: Interpolation

6.2 CURVE FITTING WITH A LINEAR EQUATION Curve fitting using a linear equation (first degree polynomial) is the process by which an equation of the form:

Linear Least-Squares Regression Linear least-squares regression is a procedure in which the coefficients a1 and a0 of a linear function y = a1x + a0 are determined such that the function has the best fit to a given set of data points. The best fit is defined as the smallest possible total error that is calculated by adding the squares of the residuals according to Eq. (6.5).