SlideShare a Scribd company logo
1 of 16
Government Engineering College, Bhavnagar.
Civil Engineering Department
Topic:-
Interpolation
NUMERICAL AND STATISTICAL METHODS
FOR CIVIL ENGINEERING (2140606).
Contents
 Introduction
 Newton’s Divided-Difference Interpolating Polynomials
 Error Estimation in Newton’s Interpolating
Polynomials
 Lagrange Interpolating Polynomials
 Image Interpolation - Theory
Introduction
Interpolation : Estimation of a function value at an intermediate point
that lie between precise data points.
 There is one and only one nth-order polynomial that perfectly fits n+1 data points:
 There are several methods to find the fitting polynomial:
the Newton polynomial and the Lagrange polynomial (unequal
interval)
Newton’s Divided-Difference Interpolating
Polynomials
Linear Interpolation
Connecting two data points with a straight line
f1(x) designates a first-order interpolating polynomial.
)()()()(
01
01
0
01
xx
xfxf
xx
xfxf





Linear-
interpolation
formula
Slope
)(
)()(
)()( 0
01
01
01 xx
xx
xfxf
xfxf 



Quadratic Interpolation
• If three (3) data points are available, the estimate is improved by introducing some curvature into the line
connecting the points.
A second-order polynomial (parabola) can be used for this purpose
• A simple procedure can be used to determine the values of the coefficients
))(()()( 1020102 xxxxbxxbbxf 
)( 000 xfbxx  Could you
figure out how
to derive this
using the above
equation?
Represents a
second order
polynomial
)()(
01
01
11
xx
xfxf
bxx



02
01
01
12
12
22
xx
xx
xfxf
xx
xfxf
bxx







)()()()(
))(()()( 102010 xxxxbxxbbxf 
))((
)(
)()(
)()(
))((
)()()(
)()(
)(
1202
02
01
01
02
2
1202
02102
22
01
01
100
xxxx
xx
xx
xfxf
xfxf
b
xxxx
xxbxfxf
bxx
xx
xfxf
bxfb












))((
)(
)))(()((
)(
)))(()((
1202
01
1201
12
1212
2
xxxx
xx
xxxfxf
xx
xxxfxf
b







)(
)(
)()(
)(
)()(
02
01
01
12
12
2
xx
xx
xfxf
xx
xfxf
b







))((
)(
)))(()(()))(()((
))()((
)(
)))(()((
1202
01
01011201
01
12
1212
2
xxxx
xx
xxxfxfxxxfxf
xfxf
xx
xxxfxf
b







))((
)(
)))(()((
)(
)))(()()()((
1202
01
011201
12
120112
22
xxxx
xx
xxxxxfxf
xx
xxxfxfxfxf
bxx







General Form of Newton’s Interpolating
Polynomials
)()(
],[
ji
ji
ji
xx
xfxf
xxf



Bracketed function
evaluations are finite
divided differences
],,,,[],,[],[)(
)())(())(()()(
011012201100
110102010
xxxxfbxxxfbxxfbxfb
xxxxxxbxxxxbxxbbxf
nnn
nnn






],[],[
],,[
ki
kjji
kji
xx
xxfxxf
xxxf



0
02111
011
xx
xxxfxxxf
xxxxf
n
nnnn
nn


 

],,,[],,,[
],,,,[



xi f(xi)
x0 f(x0)
x1 f(x1)
x2 f(x2)
x3 f(x3)
x4 f(x4)
xi f(xi)
x0=0 2
x1=2 14
x2=3 74
x3=4 242
x4=5 602
f1(x) = 2 + 6*(x-0) (based on x0 and x1)
f2(x) = 2 + 6*(x-0)+18(x-0)(x-2) (based on x0, x1 and x2)
f3(x) = 2 + 6*(x-0)+18(x-0)(x-2)+9(x-0)(x-2)(x-3) (based on x0, x1, x2, and x3)
f4(x) = 2 + 6x +18x(x-2) +9x(x-2)(x-3) +1x(x-2)(x-3)(x-4) (based on x0, x1, x2, x3, and x4)
= x4 – x2 + 2
EXAMPLEDIVIDED DIFFERENCE TABLE
f[xi,xj]
6
60
168
360
f[xi,xj,xk]
18
54
96
f[x,x,x,x]
9
14
f[x...x]
1
f[xi,xj]
f[x1,x0]
f[x2,x1]
f[x3,x2]
f[x4,x3]
f[xi,xj,xk]
f[x2,x1,x0]
f[x3,x2,x1]
f[x4,x3,x2]
f[x,x,x,x]
f[x3,x2,x1,x0]
f[x4,x3,x2,x1]
Given:
x0=1 f(x0)=ln(1) = 0
x1=e f(x1)=ln(2.72) = 1
x2=e2 f(x2)=ln(7.39) = 2
Estimate ln(2) = ?
using interpolation
Find f(x) first
xi f(xi)
x0=1 0
x1=2.72 1
x2=7.39 2
f[xi,xj]
.58
.214
f[xi,xj xk]
-.057
f(x) = 0.58(x-1)
-0.057(x-1)(x-
2.72)
Then calculate
f(2)=0.58(2-1)-0.057(2-1)(2-
2.72)
= 0.621
[ TRUE ln(2) = 0.6931 ]
Example
Lagrange Interpolating Polynomials
• The Lagrange interpolating polynomial is simply a reformulation of the Newton’s polynomial that avoids the
computation of divided differences:
• Above formula can be easily verified by plugging in x0, x1…in the equation one at a time and checking if the
equality is satisfied.









n
ij
j ji
j
i
n
i
iin
xx
xx
xL
xfxLxf
0
0
)(
)()()(
)()()( 1
01
0
0
10
1
1 xf
xx
xx
xf
xx
xx
xf






  
  
  
  
  
  
)(
)(
)()(
2
1202
10
1
2101
20
0
2010
21
2
xf
xxxx
xxxx
xf
xxxx
xxxx
xf
xxxx
xxxx
xf









A visual depiction of the rationale behind
the Lagrange polynomial . The figure
shows a second order case:
Each of the three terms passes through
one of the data points and zero at the
other two. The summation of the three
terms must, therefore, be unique second
order polynomial f2(x) that passes exactly
through three points.
  
  
  
  
  
  
)(
)(
)()(
2
1202
10
1
2101
20
0
2010
21
2
xf
xxxx
xxxx
xf
xxxx
xxxx
xf
xxxx
xxxx
xf









Image Interpolation - Theory
 [IDEA]
 In order to provide a richer environment we are thinking of using
interpolation methods that will generate “artificial images” thus revealing
hidden information.
 [RADON RECONSTRUCTION]
 Radon reconstruction is the technique in which the object is reconstructed
from its projections. This reconstruction method is based on approximating
the inverse Radon Transform.
 [RADON Transform]
 The 2-D Radon transform is the mathematical relationship which maps the
spatial domain (x,y) to the Radon domain (p,phi). The Radon transform
consists of taking a line integral along a line (ray) which passes through the
object space. The radon transform is expressed mathematically as:



 dxdypyxyxpR )sincos(),(),}({ 
Image Interpolation - Graphical
Representation (I)





l
z
dy
y
z
dxzyxyR
dyzyxxR
0
0
0
),,()0,(
),,()90,(
0
0
0
0


Image Interpolation - Graphical
Representation (II)
BHAVIK SHAH – 130210106049
DIGVIJAY SOLANKI – 130210106055
KARTIK HINGOL – 130210106030
NITIN CHAREL – 130210106011
Thank You For Bearing

More Related Content

What's hot

Differential equations
Differential equationsDifferential equations
Differential equationsSeyid Kadher
 
Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler methodSohaib Butt
 
Interpolation and-its-application
Interpolation and-its-applicationInterpolation and-its-application
Interpolation and-its-applicationApurbo Datta
 
Gauss Forward And Backward Central Difference Interpolation Formula
 Gauss Forward And Backward Central Difference Interpolation Formula  Gauss Forward And Backward Central Difference Interpolation Formula
Gauss Forward And Backward Central Difference Interpolation Formula Deep Dalsania
 
Eigenvalues and Eigenvectors
Eigenvalues and EigenvectorsEigenvalues and Eigenvectors
Eigenvalues and EigenvectorsVinod Srivastava
 
Application of interpolation and finite difference
Application of interpolation and finite differenceApplication of interpolation and finite difference
Application of interpolation and finite differenceManthan Chavda
 
Interpolation with unequal interval
Interpolation with unequal intervalInterpolation with unequal interval
Interpolation with unequal intervalDr. Nirav Vyas
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination MethodAndi Firdaus
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methodsTarun Gehlot
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference InterpolationVARUN KUMAR
 
Application of interpolation in CSE
Application of interpolation in CSEApplication of interpolation in CSE
Application of interpolation in CSEMd. Tanvir Hossain
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equationsaman1894
 
Cubic Spline Interpolation
Cubic Spline InterpolationCubic Spline Interpolation
Cubic Spline InterpolationVARUN KUMAR
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolationVISHAL DONGA
 

What's hot (20)

Differential equations
Differential equationsDifferential equations
Differential equations
 
Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler method
 
Interpolation and-its-application
Interpolation and-its-applicationInterpolation and-its-application
Interpolation and-its-application
 
Gauss Forward And Backward Central Difference Interpolation Formula
 Gauss Forward And Backward Central Difference Interpolation Formula  Gauss Forward And Backward Central Difference Interpolation Formula
Gauss Forward And Backward Central Difference Interpolation Formula
 
Eigenvalues and Eigenvectors
Eigenvalues and EigenvectorsEigenvalues and Eigenvectors
Eigenvalues and Eigenvectors
 
Application of interpolation and finite difference
Application of interpolation and finite differenceApplication of interpolation and finite difference
Application of interpolation and finite difference
 
Beta gamma functions
Beta gamma functionsBeta gamma functions
Beta gamma functions
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Interpolation with unequal interval
Interpolation with unequal intervalInterpolation with unequal interval
Interpolation with unequal interval
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination Method
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Chapter 17 - Multivariable Calculus
Chapter 17 - Multivariable CalculusChapter 17 - Multivariable Calculus
Chapter 17 - Multivariable Calculus
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference Interpolation
 
Lagrange’s interpolation formula
Lagrange’s interpolation formulaLagrange’s interpolation formula
Lagrange’s interpolation formula
 
Application of interpolation in CSE
Application of interpolation in CSEApplication of interpolation in CSE
Application of interpolation in CSE
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 
newton raphson method
newton raphson methodnewton raphson method
newton raphson method
 
Cubic Spline Interpolation
Cubic Spline InterpolationCubic Spline Interpolation
Cubic Spline Interpolation
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
 

Similar to Interpolation

3.2.interpolation lagrange
3.2.interpolation lagrange3.2.interpolation lagrange
3.2.interpolation lagrangeSamuelOseiAsare
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...ieijjournal
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...ieijjournal
 
Regularized Compression of A Noisy Blurred Image
Regularized Compression of A Noisy Blurred Image Regularized Compression of A Noisy Blurred Image
Regularized Compression of A Noisy Blurred Image ijcsa
 
INFLUENCE OF OVERLAYERS ON DEPTH OF IMPLANTED-HETEROJUNCTION RECTIFIERS
INFLUENCE OF OVERLAYERS ON DEPTH OF IMPLANTED-HETEROJUNCTION RECTIFIERSINFLUENCE OF OVERLAYERS ON DEPTH OF IMPLANTED-HETEROJUNCTION RECTIFIERS
INFLUENCE OF OVERLAYERS ON DEPTH OF IMPLANTED-HETEROJUNCTION RECTIFIERSZac Darcy
 
MVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsMVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsElvis DOHMATOB
 
COMPLEX PROJECT-3.pptx
COMPLEX PROJECT-3.pptxCOMPLEX PROJECT-3.pptx
COMPLEX PROJECT-3.pptxJayabiGaming
 
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsDSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsAmr E. Mohamed
 
lagrange and newton divided differences.ppt
lagrange and newton divided differences.pptlagrange and newton divided differences.ppt
lagrange and newton divided differences.pptThirumoorthy64
 
Applied numerical methods lec9
Applied numerical methods lec9Applied numerical methods lec9
Applied numerical methods lec9Yasser Ahmed
 
Change of order in integration
Change of order in integrationChange of order in integration
Change of order in integrationShubham Sojitra
 
Comparative Study of the Effect of Different Collocation Points on Legendre-C...
Comparative Study of the Effect of Different Collocation Points on Legendre-C...Comparative Study of the Effect of Different Collocation Points on Legendre-C...
Comparative Study of the Effect of Different Collocation Points on Legendre-C...IOSR Journals
 
Dimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptxDimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptxRohanBorgalli
 

Similar to Interpolation (20)

Es272 ch5b
Es272 ch5bEs272 ch5b
Es272 ch5b
 
3.2.interpolation lagrange
3.2.interpolation lagrange3.2.interpolation lagrange
3.2.interpolation lagrange
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
 
Regularized Compression of A Noisy Blurred Image
Regularized Compression of A Noisy Blurred Image Regularized Compression of A Noisy Blurred Image
Regularized Compression of A Noisy Blurred Image
 
INFLUENCE OF OVERLAYERS ON DEPTH OF IMPLANTED-HETEROJUNCTION RECTIFIERS
INFLUENCE OF OVERLAYERS ON DEPTH OF IMPLANTED-HETEROJUNCTION RECTIFIERSINFLUENCE OF OVERLAYERS ON DEPTH OF IMPLANTED-HETEROJUNCTION RECTIFIERS
INFLUENCE OF OVERLAYERS ON DEPTH OF IMPLANTED-HETEROJUNCTION RECTIFIERS
 
MVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsMVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priors
 
COMPLEX PROJECT-3.pptx
COMPLEX PROJECT-3.pptxCOMPLEX PROJECT-3.pptx
COMPLEX PROJECT-3.pptx
 
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and SystemsDSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
 
lagrange and newton divided differences.ppt
lagrange and newton divided differences.pptlagrange and newton divided differences.ppt
lagrange and newton divided differences.ppt
 
KAUST_talk_short.pdf
KAUST_talk_short.pdfKAUST_talk_short.pdf
KAUST_talk_short.pdf
 
Applied numerical methods lec9
Applied numerical methods lec9Applied numerical methods lec9
Applied numerical methods lec9
 
Change of order in integration
Change of order in integrationChange of order in integration
Change of order in integration
 
R180304110115
R180304110115R180304110115
R180304110115
 
05_AJMS_332_21.pdf
05_AJMS_332_21.pdf05_AJMS_332_21.pdf
05_AJMS_332_21.pdf
 
E028047054
E028047054E028047054
E028047054
 
Comparative Study of the Effect of Different Collocation Points on Legendre-C...
Comparative Study of the Effect of Different Collocation Points on Legendre-C...Comparative Study of the Effect of Different Collocation Points on Legendre-C...
Comparative Study of the Effect of Different Collocation Points on Legendre-C...
 
It 05104 digsig_1
It 05104 digsig_1It 05104 digsig_1
It 05104 digsig_1
 
Dimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptxDimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptx
 
Irjet v2i170
Irjet v2i170Irjet v2i170
Irjet v2i170
 

More from Bhavik A Shah

The battle against corruption starts from within
The battle against corruption starts from withinThe battle against corruption starts from within
The battle against corruption starts from withinBhavik A Shah
 
Slope deflection method
Slope deflection methodSlope deflection method
Slope deflection methodBhavik A Shah
 
Purpose of Valuation
Purpose of ValuationPurpose of Valuation
Purpose of ValuationBhavik A Shah
 
Development of Sonpari village Under the Scheme of Smart Village
Development of Sonpari village Under the Scheme of Smart VillageDevelopment of Sonpari village Under the Scheme of Smart Village
Development of Sonpari village Under the Scheme of Smart VillageBhavik A Shah
 
Moment Distribution Method
Moment Distribution MethodMoment Distribution Method
Moment Distribution MethodBhavik A Shah
 
Indeterminate frame by using energy principle
Indeterminate frame by using energy principleIndeterminate frame by using energy principle
Indeterminate frame by using energy principleBhavik A Shah
 
Geographic information system
Geographic information system Geographic information system
Geographic information system Bhavik A Shah
 
Food chains and food Webs
Food chains and food WebsFood chains and food Webs
Food chains and food WebsBhavik A Shah
 
Earthquake - Disaster Management
Earthquake - Disaster ManagementEarthquake - Disaster Management
Earthquake - Disaster ManagementBhavik A Shah
 

More from Bhavik A Shah (20)

The battle against corruption starts from within
The battle against corruption starts from withinThe battle against corruption starts from within
The battle against corruption starts from within
 
Swachchhta shapath
Swachchhta shapathSwachchhta shapath
Swachchhta shapath
 
Smart city
Smart citySmart city
Smart city
 
Slope deflection method
Slope deflection methodSlope deflection method
Slope deflection method
 
Purpose of Valuation
Purpose of ValuationPurpose of Valuation
Purpose of Valuation
 
Development of Sonpari village Under the Scheme of Smart Village
Development of Sonpari village Under the Scheme of Smart VillageDevelopment of Sonpari village Under the Scheme of Smart Village
Development of Sonpari village Under the Scheme of Smart Village
 
Orientation
OrientationOrientation
Orientation
 
Monetary Policy
Monetary PolicyMonetary Policy
Monetary Policy
 
Moment Distribution Method
Moment Distribution MethodMoment Distribution Method
Moment Distribution Method
 
Matrix methods
Matrix methodsMatrix methods
Matrix methods
 
Indeterminate frame by using energy principle
Indeterminate frame by using energy principleIndeterminate frame by using energy principle
Indeterminate frame by using energy principle
 
Hardened concrete
Hardened concreteHardened concrete
Hardened concrete
 
Survey required
Survey requiredSurvey required
Survey required
 
The Water act 1947
The Water act 1947The Water act 1947
The Water act 1947
 
Traffic engineering
Traffic engineeringTraffic engineering
Traffic engineering
 
Flood management
Flood managementFlood management
Flood management
 
Geographic information system
Geographic information system Geographic information system
Geographic information system
 
Strain measurement
Strain measurementStrain measurement
Strain measurement
 
Food chains and food Webs
Food chains and food WebsFood chains and food Webs
Food chains and food Webs
 
Earthquake - Disaster Management
Earthquake - Disaster ManagementEarthquake - Disaster Management
Earthquake - Disaster Management
 

Recently uploaded

Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringJuanCarlosMorales19600
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 

Recently uploaded (20)

Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineering
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 

Interpolation

  • 1. Government Engineering College, Bhavnagar. Civil Engineering Department
  • 2. Topic:- Interpolation NUMERICAL AND STATISTICAL METHODS FOR CIVIL ENGINEERING (2140606).
  • 3. Contents  Introduction  Newton’s Divided-Difference Interpolating Polynomials  Error Estimation in Newton’s Interpolating Polynomials  Lagrange Interpolating Polynomials  Image Interpolation - Theory
  • 4. Introduction Interpolation : Estimation of a function value at an intermediate point that lie between precise data points.  There is one and only one nth-order polynomial that perfectly fits n+1 data points:  There are several methods to find the fitting polynomial: the Newton polynomial and the Lagrange polynomial (unequal interval)
  • 5. Newton’s Divided-Difference Interpolating Polynomials Linear Interpolation Connecting two data points with a straight line f1(x) designates a first-order interpolating polynomial. )()()()( 01 01 0 01 xx xfxf xx xfxf      Linear- interpolation formula Slope )( )()( )()( 0 01 01 01 xx xx xfxf xfxf    
  • 6. Quadratic Interpolation • If three (3) data points are available, the estimate is improved by introducing some curvature into the line connecting the points. A second-order polynomial (parabola) can be used for this purpose • A simple procedure can be used to determine the values of the coefficients ))(()()( 1020102 xxxxbxxbbxf  )( 000 xfbxx  Could you figure out how to derive this using the above equation? Represents a second order polynomial )()( 01 01 11 xx xfxf bxx    02 01 01 12 12 22 xx xx xfxf xx xfxf bxx        )()()()(
  • 7. ))(()()( 102010 xxxxbxxbbxf  ))(( )( )()( )()( ))(( )()()( )()( )( 1202 02 01 01 02 2 1202 02102 22 01 01 100 xxxx xx xx xfxf xfxf b xxxx xxbxfxf bxx xx xfxf bxfb             ))(( )( )))(()(( )( )))(()(( 1202 01 1201 12 1212 2 xxxx xx xxxfxf xx xxxfxf b        )( )( )()( )( )()( 02 01 01 12 12 2 xx xx xfxf xx xfxf b        ))(( )( )))(()(()))(()(( ))()(( )( )))(()(( 1202 01 01011201 01 12 1212 2 xxxx xx xxxfxfxxxfxf xfxf xx xxxfxf b        ))(( )( )))(()(( )( )))(()()()(( 1202 01 011201 12 120112 22 xxxx xx xxxxxfxf xx xxxfxfxfxf bxx       
  • 8. General Form of Newton’s Interpolating Polynomials )()( ],[ ji ji ji xx xfxf xxf    Bracketed function evaluations are finite divided differences ],,,,[],,[],[)( )())(())(()()( 011012201100 110102010 xxxxfbxxxfbxxfbxfb xxxxxxbxxxxbxxbbxf nnn nnn       ],[],[ ],,[ ki kjji kji xx xxfxxf xxxf    0 02111 011 xx xxxfxxxf xxxxf n nnnn nn      ],,,[],,,[ ],,,,[   
  • 9. xi f(xi) x0 f(x0) x1 f(x1) x2 f(x2) x3 f(x3) x4 f(x4) xi f(xi) x0=0 2 x1=2 14 x2=3 74 x3=4 242 x4=5 602 f1(x) = 2 + 6*(x-0) (based on x0 and x1) f2(x) = 2 + 6*(x-0)+18(x-0)(x-2) (based on x0, x1 and x2) f3(x) = 2 + 6*(x-0)+18(x-0)(x-2)+9(x-0)(x-2)(x-3) (based on x0, x1, x2, and x3) f4(x) = 2 + 6x +18x(x-2) +9x(x-2)(x-3) +1x(x-2)(x-3)(x-4) (based on x0, x1, x2, x3, and x4) = x4 – x2 + 2 EXAMPLEDIVIDED DIFFERENCE TABLE f[xi,xj] 6 60 168 360 f[xi,xj,xk] 18 54 96 f[x,x,x,x] 9 14 f[x...x] 1 f[xi,xj] f[x1,x0] f[x2,x1] f[x3,x2] f[x4,x3] f[xi,xj,xk] f[x2,x1,x0] f[x3,x2,x1] f[x4,x3,x2] f[x,x,x,x] f[x3,x2,x1,x0] f[x4,x3,x2,x1]
  • 10. Given: x0=1 f(x0)=ln(1) = 0 x1=e f(x1)=ln(2.72) = 1 x2=e2 f(x2)=ln(7.39) = 2 Estimate ln(2) = ? using interpolation Find f(x) first xi f(xi) x0=1 0 x1=2.72 1 x2=7.39 2 f[xi,xj] .58 .214 f[xi,xj xk] -.057 f(x) = 0.58(x-1) -0.057(x-1)(x- 2.72) Then calculate f(2)=0.58(2-1)-0.057(2-1)(2- 2.72) = 0.621 [ TRUE ln(2) = 0.6931 ] Example
  • 11. Lagrange Interpolating Polynomials • The Lagrange interpolating polynomial is simply a reformulation of the Newton’s polynomial that avoids the computation of divided differences: • Above formula can be easily verified by plugging in x0, x1…in the equation one at a time and checking if the equality is satisfied.          n ij j ji j i n i iin xx xx xL xfxLxf 0 0 )( )()()( )()()( 1 01 0 0 10 1 1 xf xx xx xf xx xx xf                         )( )( )()( 2 1202 10 1 2101 20 0 2010 21 2 xf xxxx xxxx xf xxxx xxxx xf xxxx xxxx xf         
  • 12. A visual depiction of the rationale behind the Lagrange polynomial . The figure shows a second order case: Each of the three terms passes through one of the data points and zero at the other two. The summation of the three terms must, therefore, be unique second order polynomial f2(x) that passes exactly through three points.                   )( )( )()( 2 1202 10 1 2101 20 0 2010 21 2 xf xxxx xxxx xf xxxx xxxx xf xxxx xxxx xf         
  • 13. Image Interpolation - Theory  [IDEA]  In order to provide a richer environment we are thinking of using interpolation methods that will generate “artificial images” thus revealing hidden information.  [RADON RECONSTRUCTION]  Radon reconstruction is the technique in which the object is reconstructed from its projections. This reconstruction method is based on approximating the inverse Radon Transform.  [RADON Transform]  The 2-D Radon transform is the mathematical relationship which maps the spatial domain (x,y) to the Radon domain (p,phi). The Radon transform consists of taking a line integral along a line (ray) which passes through the object space. The radon transform is expressed mathematically as:     dxdypyxyxpR )sincos(),(),}({ 
  • 14. Image Interpolation - Graphical Representation (I)      l z dy y z dxzyxyR dyzyxxR 0 0 0 ),,()0,( ),,()90,( 0 0 0 0  
  • 15. Image Interpolation - Graphical Representation (II)
  • 16. BHAVIK SHAH – 130210106049 DIGVIJAY SOLANKI – 130210106055 KARTIK HINGOL – 130210106030 NITIN CHAREL – 130210106011 Thank You For Bearing