Objective of curve fitting is to represent a set of discrete data by a function (curve). Consider a set of discrete data as given in table.

Similar documents
DATA FITTING. Intensive Computation 2013/2014. Annalisa Massini

PY3101 Optics. Learning objectives. Wave propagation in anisotropic media Poynting walk-off The index ellipsoid Birefringence. The Index Ellipsoid

The Simple Linear Regression Model: Theory

CHAPTER 6 CURVE FITTINGS

Regression. By Jugal Kalita Based on Chapter 17 of Chapra and Canale, Numerical Methods for Engineers

PubH 7405: REGRESSION ANALYSIS REGRESSION IN MATRIX TERMS

Chapter Gauss-Seidel Method

Solving the Kinematics of Welding Robot Based on ADAMS

Numerical Analysis Topic 4: Least Squares Curve Fitting

Ordinary Differential Equations. Orientation. Lesson Objectives. Ch. 25. ODE s. Runge-Kutta Methods. Motivation Mathematical Background

CHAPTER 5 ENTROPY GENERATION Instructor: Prof. Dr. Uğur Atikol

BC Calculus Review Sheet. converges. Use the integral: L 1

CURVE FITTING LEAST SQUARES METHOD

St John s College. UPPER V Mathematics: Paper 1 Learning Outcome 1 and 2. Examiner: GE Marks: 150 Moderator: BT / SLS INSTRUCTIONS AND INFORMATION

element k Using FEM to Solve Truss Problems

12 Iterative Methods. Linear Systems: Gauss-Seidel Nonlinear Systems Case Study: Chemical Reactions

Differential Entropy 吳家麟教授

Department of Economics University of Toronto. ECO2408F M.A. Econometrics. Lecture Notes on Simple Regression Model

Technote 6. Op Amp Definitions. April 1990 Revised 11/22/02. Tim J. Sobering SDE Consulting

The z-transform. LTI System description. Prof. Siripong Potisuk

Chapter 2 Intro to Math Techniques for Quantum Mechanics

MTH 146 Class 7 Notes

CS321. Introduction to Numerical Methods

COMPLEX NUMBERS AND DE MOIVRE S THEOREM

Soo King Lim Figure 1: Figure 2: Figure 3: Figure 4: Figure 5: Figure 6: Figure 7: Figure 8: Figure 9: Figure 10: Figure 11:

DCDM BUSINESS SCHOOL NUMERICAL METHODS (COS 233-8) Solutions to Assignment 3. x f(x)

A Technique for Constructing Odd-order Magic Squares Using Basic Latin Squares

Ionization Energies in Si, Ge, GaAs

Chapter 7. Bounds for weighted sums of Random Variables

More Regression Lecture Notes CE 311K - McKinney Introduction to Computer Methods Department of Civil Engineering The University of Texas at Austin

Cambridge Assessment International Education Cambridge Ordinary Level. Published

Solutions Manual for Polymer Science and Technology Third Edition

FUNCTIONS: Grade 11. or y = ax 2 +bx + c or y = a(x- x1)(x- x2) a y

Calculus 2: Integration. Differentiation. Integration

3/20/2013. Splines There are cases where polynomial interpolation is bad overshoot oscillations. Examplef x. Interpolation at -4,-3,-2,-1,0,1,2,3,4

Section 7 Ordinary Differential Equations

Cooper and McGillem Chapter 4: Moments Linear Regression

Physics 102. Final Examination. Spring Semester ( ) P M. Fundamental constants. n = 10P

Goals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite

Basics of heteroskedasticity

Sequences and summations

ALGEBRA 2/TRIGONMETRY TOPIC REVIEW QUARTER 3 LOGS

1. Extend QR downwards to meet the x-axis at U(6, 0). y

Chapter Unary Matrix Operations

PROPERTIES OF AREAS In general, and for an irregular shape, the definition of the centroid at position ( x, y) is given by

Chapter Newton-Raphson Method of Solving a Nonlinear Equation

11.2. Infinite Series

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac

MAT 1275: Introduction to Mathematical Analysis

Chapter Linear Regression

OVERVIEW Using Similarity and Proving Triangle Theorems G.SRT.4

PRINCE SULTAN UNIVERSITY Department of Mathematical Sciences Final Examination First Semester ( ) STAT 271.

ME 501A Seminar in Engineering Analysis Page 1

Graduate Students do all problems. Undergraduate students choose three problems.

Taylor Polynomials. The Tangent Line. (a, f (a)) and has the same slope as the curve y = f (x) at that point. It is the best

Section 14.3 Arc Length and Curvature

Solutions to Problems. Then, using the formula for the speed in a parabolic orbit (equation ), we have

Optimality of Strategies for Collapsing Expanded Random Variables In a Simple Random Sample Ed Stanek

Introduction to mathematical Statistics

Chapter 17. Least Square Regression

Data Mining: Concepts and Techniques

Preliminary Examinations: Upper V Mathematics Paper 1

Rendering Equation. Linear equation Spatial homogeneous Both ray tracing and radiosity can be considered special case of this general eq.

Kinematics Analysis and Simulation on Transfer Robot with Six Degrees of Freedom

[ 20 ] 1. Inequality exists only between two real numbers (not complex numbers). 2. If a be any real number then one and only one of there hold.

Conduction Heat Transfer

CS 4758 Robot Kinematics. Ashutosh Saxena

Level-2 BLAS. Matrix-Vector operations with O(n 2 ) operations (sequentially) BLAS-Notation: S --- single precision G E general matrix M V --- vector

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

Differentiation Applications 1: Related Rates

Analytical Approach for the Solution of Thermodynamic Identities with Relativistic General Equation of State in a Mixture of Gases

Outline. Finite Difference Grids. Numerical Analysis. Finite Difference Grids II. Finite Difference Grids III

ME2142/ME2142E Feedback Control Systems. Modelling of Physical Systems The Transfer Function

3.1 Exponential Functions and Their Graphs

ES240 Solid Mechanics Z. Suo. Principal stress. . Write in the matrix notion, and we have

Chapter 3 Supplemental Text Material

In Calculus I you learned an approximation method using a Riemann sum. Recall that the Riemann sum is

Chapter 2 Intro to Math Techniques for Quantum Mechanics

A Brief Introduction to Olympiad Inequalities

Chapter Newton-Raphson Method of Solving a Nonlinear Equation

Modeling uncertainty using probabilities

Describes techniques to fit curves (curve fitting) to discrete data to obtain intermediate estimates.

AQA Further Pure 2. Hyperbolic Functions. Section 2: The inverse hyperbolic functions

SECTION 9-4 Translation of Axes

CISE 301: Numerical Methods Lecture 5, Topic 4 Least Squares, Curve Fitting

Fuzzy Neutrosophic Equivalence Relations

Chapter 4. Unsteady State Conduction

Algebra Readiness PLACEMENT 1 Fraction Basics 2 Percent Basics 3. Algebra Basics 9. CRS Algebra 1

Section I5: Feedback in Operational Amplifiers

Chapter Simpson s 1/3 Rule of Integration. ( x)

BRIEF NOTES ADDITIONAL MATHEMATICS FORM

Applied Statistics Qualifier Examination

Introduction to Electronic circuits.

HOMEWORK SOLUTIONS MATH 1910 Sections 7.9, 8.1 Fall 2016

Surds, Indices, and Logarithms Radical

INTEGRATION TECHNIQUES (TRIG, LOG, EXP FUNCTIONS)

lower lower median upper upper proportions. 1 cm= 10 mm extreme quartile quartile extreme 28mm =?cm I I I

Definite Integral. The Left and Right Sums

Predict Global Earth Temperature using Linier Regression

Transcription:

CURVE FITTING Obectve curve ttg s t represet set dscrete dt b uct curve. Csder set dscrete dt s gve tble. 3 3 = T use the dt eectvel, curve epress s tted t the gve dt set, s = + = + + = e b ler uct plml epetl Y = B Ukw cecets,,, B d b re t be determed There re tw geerl pprches r curve ttg: Lest squre regress Iterplt MM98

Lest squre regress The strteg s t derve sgle curve tht best represets the geerl tred the dt set. We mke ert t tersect ever dt pt. Rther, the curve s desged t llw the ptter the dt pt tke s grup. Lest squre regress s ppled t dt sets tht m ct sme errr r se. A dvdul dt pt m be crrect. Ler regress Plml regress Iterplt techque s used t t curve tht drectl psses thrugh ech the dt pts. Such dt usull rgtes rm tbles. Ler terplt Curvler terplt MM98

MM98 3 LEAST SQUARE METHOD A curve s tted t gve dt set such tht sum the squres the dereces betwee the gve dt set d the vlues bted rm the tted curve s mmum.. Ler Regress Dt s tted t ler rst rder uct. = + =?, =? Sum the squre the dereces c be bted s d re bted such w tht R s mmum. Ths s de s llws: 0 0 R 0 0 R Arrgg these equts, we bt, Frm ths set equts, ukw cecets d re slved. R

MM98. Secd Order Plml Regress Gve dt s tted t secd rder plml s, = + + =?, =?, =? Sum the squre the dereces c be bted s Derettg R wth respect t, d d equtg t zer, we bt the llwg set lgebrc equts r ukw cecets. 3 3 Slut these equts gves the ukw cecets, d. R

MM98 5 MULTIPLE LINEAR REGRESSION Ler regress methd c be used t bt ler uct tw r mre vrbles. Fr emple, mght be ler uct d, s, = + + Fr ths tw dmesl cse, the regress le becmes ple. Cecets re g determed b settg up the sum the squres the resduls, R Derettg wth respect t ech the ukw cecets d settg t zer, we get set ler equts r ukw cecets,, d. Arrgg these equts s mtr equt, we bt, Slut ths set ler equts gves the ukw cecets,, d the bve ler uct.

TRANSFORMATION FOR DATA LINEARIZATION Ler regress prvdes pwerul techque r ttg best le t dt set. Ths techque s used the relt betwee depedet d depedet vrbles s ler. Hwever, ths s t lws the cse. Fr sme cses, plml regress s pprprte. Fr thers, trsrmt c be used t epress the dt the rm tht s cmptble wth ler regress. l Lerzt e b T lerze ths epress, we tke the lgrthm bth sdes s llws: e b l l b Ths c be wrtte s Y c c t Where Y=l, c =l, c =b d t=. Ths s ler equt. Hece, bve ler regress methd c be used t d the ukw cecet c d c. MM98 6

EXAMPLE: Temperture T smll cpper sphere clg the r s mesured s uct tme t t eld the llwg dt set: t s 0. 0.6.0.8.0 3.0 5.0 6.0 8.0 T C 6.0 9.55.8 90.3 85. 63.0 3.6 5.6. Ft ths dt t curve T Ae t MM98 7

Emple: Tmt pste ws tested vscmeter d the llwg dt ere bted. Determe the lud s Newt d d ts descrptve equt. t N/m 5 7.6 90.8.0 6.0 dv/d rd/s 0.95.7.3 0.6 93.5 Slut: A plt these dt ppers the gure. Ths gure mples tht the lud s -Newt pseudplstc s we ssume equt shuld be the rm t K dv d Usg dt lerzt, ukws K d c be determed utlzg lest squre methd. MM98 8

Tkg the turl lgrthm bth sdes, we get lt = lk+ldv/d We c wrte smpler tt s, T = b +b V Where T = lt b = b = lk V = ldv/d Ukw cstts b d b c be determed usg the methd lest squre rm the trsrmed dt gve the tble belw: V =ldv/d -0.53.55.5 3.70.5 S. T=lt 3.93.7.5.8 5.09 S.6 b 5.b b.6. 3.0b 58.6 Slvg r b d b, we get b =3.90 b = 0.57 Frm these, b = lk K = epb = ep 3.90 = 9.3 = b = 0.57 Fl equt r the tmt pste dv t 9.3 d 0.57 Bsed the sher stress-str curve, we cclude tht tmt pste s pseudplstc -Newt lud. MM98 9

EXAMPLE: Flw rte ppe s mesured r deret pressure drps d ppe dmeters. Results the mesuremets re gve the tble belw. Ft curve t the gve dt s Q BD P b D m 0.3 0.5.0. P tm 0.5 0.3 0.3..55 0.9 0.5 0.8.0 8.69. 0.3. 5.5.9.8 0.5.7 8.59 8.63 Ths tble shws the lw rte s uct dmeter D d Pressure drp P Slut: Lerzg the dt, multple ler lest squre regress methd c be used t determe ukws B, d b. We re lkg r epress the rm Q= B D P b B =?, =?, b =? Tkg the lgrhtm bth sdes the equt, we bt lq = lb + ld + blp Ths equt c be wrtte s Y = C + C + C 3 X where Y = lq, C = lb, C =, C 3 = b, = ld d = lp Nw we eed t slve C, C d C 3, d the determe B, d b C, C d C 3 c be determed pplg the lest squre regress metht MM98 0

LD LDp -,0397-0,6935 0 0,3367-0,6935 -,00-0,8397 0,7937,557-0,0536 -,3869-0,07,3869,673 0,83 -,0788 0,339,7078,788 0,587787-0,669 0,553885,50599,9773 6 -,56065-0,08 c 9,5588 -,56065,037,05335 c 9,90005-0,08,05335 0,87088 c3 3,7638 MM98

MM98 C C C 3 Frm ths equt we bt the llwg set equts r ukws C, C d C 3. 6C 6.3C 0.C 3 = 9.555 6.3C + 8.73C + 0.0C 3 = 9.90 0.C + 0.0C + 3.8C 3 = 3.76 Slut ths set equts elds, C =.5039, C =.3039, C 3 =.005 Ukw cecets the epress we re lkg r c be bted usg the bve relts s llws: C = lb B = ep C = ep.5039 =.99 C = =.3039 C 3 = b b =.005 Therere lw rte Q, ppe s uct dmeter D, d pressure drp P c be ud s Q=.99 D.3039 P.005

MM98 3 LAGRANGE INERPOLATION The Lgrge terplt c be rmulted s L where L 0 Iterplt curve psses thrugh ll the dt pts csdered. Ler terplt Curvler terplt Subscrpt dctes the rder the terplt plml. Frst ler d secd rder terplt plmls c be wrtte s

MM98 EXAMPLE: Use Lgrge terpltg plml secd rder t t curve t pts At = =0 = =.3863 =6 =.798 Slut: Geerl terplt plml c be wrtte s.798 6 6.3863 6 6 0 6 6 0.798 6 0.3 L where L 0 Secd rder terplt plml c be wrtte s Substtutg the vlues, 5.787 7.39 0.0508 Perrmg the clcults, we bt,