1.1k likes | 1.46k Views
ECIV 301. Programming & Graphics Numerical Methods for Engineers REVIEW III. Topics. Regression Analysis Linear Regression Linearized Regression Polynomial Regression Numerical Integration Newton Cotes Trapezoidal Rule Simpson Rules Gaussian Quadrature. Topics.
E N D
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III
Topics • Regression Analysis • Linear Regression • Linearized Regression • Polynomial Regression • Numerical Integration • Newton Cotes • Trapezoidal Rule • Simpson Rules • Gaussian Quadrature
Topics • Numerical Differentiation • Finite Difference Forms • ODE – Initial Value Problems • Runge Kutta Methods • ODE – Boundary Value Problems • Finite Difference Method
what value of y corresponds to x=0.935? Regression Often we are faced with the problem…
e.g. Best Fit ? Curve Fitting Question 2: Is it possible to find a simple and convenient formula that represents dataapproximately ? Approximation
Experimental Measurements Stress Strain
BEST FIT CRITERIA Error at each Point y Stress Strain
Best Fit => Minimize Error Best Strategy
Objective: What are the values of ao and a1 that minimize ? Best Fit => Minimize Error
Least Square Approximation In our case Since xi and yi are known from given data
Least Square Approximation 2 Eqtns 2 Unknowns
Quantification of Error Average
Quantification of Error Average
Quantification of Error Average
Quantification of Error Standard Deviation Shows Spread Around mean Value
Quantification of Error “Standard Deviation” for Linear Regression
Quantification of Error Better Representation Less Spread
Quantification of Error Coefficient of Determination Correlation Coefficient
Linearized Regression The Exponential Equation
Linearized Regression The Power Equation
Linearized Regression The Saturation-Growth-Rate Equation
Polynomial Regression A Parabola is Preferable
Polynomial Regression Minimize
Polynomial Regression 3 Eqtns 3 Unknowns
Polynomial Regression Use any of the Methods we Learned
Polynomial Regression With a0, a1, a2 known the Total Error Standard Error Coefficient of Determination
Polynomial Regression For Polynomial of Order m Standard Error Coefficient of Determination
AREA BETWEEN a AND b Motivation
Calculate Derivative Motivation Given
Motivation Given Calculate
In Summary INTERPOLATE
In Summary Newton-Cotes Formulas Replace a complicated function or tabulated data with an approximating function that is easy to integrate
In Summary Also by piecewise approximation
Closed/Open Forms CLOSED OPEN
Trapezoidal Rule Linear Interpolation