Download presentation
Presentation is loading. Please wait.
1
Chapter 2 Excel Fundamentals
Linear Interpolation Chapter 2 Excel Fundamentals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1
2
Population Example The population data of a town is given in the table
We maywant to estimate the population in any year: 1995, 1983, etc. Engineering Computation: An Introduction Using MATLAB and Excel 2
3
Linear Interpolation With linear interpolation, we assume that our data varies linearly between data points: Engineering Computation: An Introduction Using MATLAB and Excel 3
4
Formula for Linear Interpolation
Point x falls between x1 and x2. The y-values corresponding to x1 and x2 are given (y1 and y2, respectively). Find the y value corresponding to x. x1 x2 y2 y1 x y Engineering Computation: An Introduction Using MATLAB and Excel 4
5
Formula for Linear Interpolation
Engineering Computation: An Introduction Using MATLAB and Excel 5
6
Population Example y2 = 4086 y y1 = 3012 x = x1 = 1950 x2 = 1960 1956
Engineering Computation: An Introduction Using MATLAB and Excel 6
7
Linear Interpolation Description
(increase in x) * slope + starting y value (y1) increase in x = x – x1 slope = (y2 – y1)/(x2 – x1) If population = 7000 (y1) in 2000 (x1) 8000 (y2) in 2010 (x2) Population in 2008 = (2008 – 2000)*(8000 – 7000)/( ) +7000 8*(1000/10) 8* 7800 Engineering Computation: An Introduction Using MATLAB and Excel 7
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.