SlideShare a Scribd company logo
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Generalized Approach to
Interpolation
Mohammad Tawfik
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Generalization
• Lets represent the relation between the
dependent and independent variables as
follows:
     axhxy
n
i
i
i xa  0
    
   
T
nn
nn
aaaaaa
xxxxxh
1210
12
...
...1




Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Generalization (cont’d)
• That is valid if you have (n+1) data points
through which you want to interpolate an
nth order polynomial.
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Generalization (cont’d)
• Now, let’s use those points:
        ahaxhxyy
n
i
i
i xa 11
0
11 1
 
        ahaxh
n
xyy nn
n
i
i
inn xa 11
0
11 1 

 

 

Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Generalization (cont’d)
• Or simply:
 
 
 
 
    aTa
h
h
h
y
n














1
2
1

1
,

 j
iji xTwhere
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Now, we may …
1. Solve the above equations
simultaneously to obtain the values for {a}
and explicitly write the relation as a
polynomial in x:
       yTxhxy
1

Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Now, we may …
2. Just invert the transformation matrix [T] and
substitute in the original relation to obtain a
summation of weighted functions
In this case, each function N(x) is an nth order
polynomial! (Recall Lagrange interpolation)
           
 





1
1
1
n
j
jj yxN
yxNyTxhxy
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
• Where
  


n
i
ji
i
j TxxN
0
1
,1.
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Interpolation Involving
Derivatives!
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Interpolation Involving Derivatives!
• In many practical cases, we may
encounter data involving the first or
second derivatives of the function!
• However, we still need to have (n+1)
pieces of information to be able to
interpolate nth order polynomial
• We will follow the same approach, but with
a simple modification
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Given the data …
• Assume that you are given the data of the
function value and the slope at m-points.
Where 2*m=n+1 (the order of the
polynomial)
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Following the previous procedure …
• Lets represent the relation between the
dependent and independent variables as
follows:
     axhxy
n
i
i
i xa  0
    
   
T
nn
nn
aaaaaa
xxxxxh
1210
12
...
...1




Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
The twist …
• Now, let’s use that data:
        
      aha
dx
xdh
dx
dy
y
but
ahaxhxyy
xxxx
n
i
i
i xa
'
1
'
1
11
0
11
11
1











Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Which gives us …
 
 
 
 
    aTa
h
h
h
h
y
y
y
y
m
m
m
m


































'
'
1
1
'
'
1
1

Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Now …
• We can solve for the parameters {a}
OR
• Obtain the N(x) functions as before.
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Interpolation with more than
one variable!
Generalized Approach to Interpolation
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
We will be using the same
approach …
• If you have a function f(x,y) measured at
(n+1) points in the x-direction, and at
(m+1) points in the y-directions, you may
be able to write:
• The follow the same procedure described
before
       1),1)*(1()1)*(1(,1
0 0
, ,, 
 
  mnmn
n
i
m
j
ji
ji ayxhyxayxf

More Related Content

What's hot

FEM: Stationary Functional Approach
FEM: Stationary Functional ApproachFEM: Stationary Functional Approach
FEM: Stationary Functional Approach
Mohammad Tawfik
 
Initial Value Problems
Initial Value ProblemsInitial Value Problems
Initial Value Problems
Mohammad Tawfik
 
FEM: Element Equations
FEM: Element EquationsFEM: Element Equations
FEM: Element Equations
Mohammad Tawfik
 
FEM: Beams
FEM: BeamsFEM: Beams
FEM: Beams
Mohammad Tawfik
 
Multiple Degree of Freedom (MDOF) Systems
Multiple Degree of Freedom (MDOF) SystemsMultiple Degree of Freedom (MDOF) Systems
Multiple Degree of Freedom (MDOF) Systems
Mohammad Tawfik
 
Finite Element for Trusses in 2-D
Finite Element for Trusses in 2-DFinite Element for Trusses in 2-D
Finite Element for Trusses in 2-D
Mohammad Tawfik
 
FEM: Bars and Trusses
FEM: Bars and TrussesFEM: Bars and Trusses
FEM: Bars and Trusses
Mohammad Tawfik
 
FEM: Nonlinear Beam Deflection Model (with Temperature)
FEM: Nonlinear Beam Deflection Model (with Temperature)FEM: Nonlinear Beam Deflection Model (with Temperature)
FEM: Nonlinear Beam Deflection Model (with Temperature)
Mohammad Tawfik
 

What's hot (9)

FEM: Stationary Functional Approach
FEM: Stationary Functional ApproachFEM: Stationary Functional Approach
FEM: Stationary Functional Approach
 
Initial Value Problems
Initial Value ProblemsInitial Value Problems
Initial Value Problems
 
FEM: Element Equations
FEM: Element EquationsFEM: Element Equations
FEM: Element Equations
 
FEM: Beams
FEM: BeamsFEM: Beams
FEM: Beams
 
Multiple Degree of Freedom (MDOF) Systems
Multiple Degree of Freedom (MDOF) SystemsMultiple Degree of Freedom (MDOF) Systems
Multiple Degree of Freedom (MDOF) Systems
 
Finite Element for Trusses in 2-D
Finite Element for Trusses in 2-DFinite Element for Trusses in 2-D
Finite Element for Trusses in 2-D
 
FEM: Bars and Trusses
FEM: Bars and TrussesFEM: Bars and Trusses
FEM: Bars and Trusses
 
FEM: Nonlinear Beam Deflection Model (with Temperature)
FEM: Nonlinear Beam Deflection Model (with Temperature)FEM: Nonlinear Beam Deflection Model (with Temperature)
FEM: Nonlinear Beam Deflection Model (with Temperature)
 
01 introduction
01 introduction01 introduction
01 introduction
 

Viewers also liked

Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical Analysis
Mohammad Tawfik
 
interpolation
interpolationinterpolation
interpolation8laddu8
 
Regression
RegressionRegression
Regression
Mohammad Tawfik
 
Interpolation with unequal interval
Interpolation with unequal intervalInterpolation with unequal interval
Interpolation with unequal interval
Dr. Nirav Vyas
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
Tarun Gehlot
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
Meet Patel
 
Boundary Value Problems - Finite Difference
Boundary Value Problems - Finite DifferenceBoundary Value Problems - Finite Difference
Boundary Value Problems - Finite Difference
Mohammad Tawfik
 
Newmark Time Integration
Newmark Time IntegrationNewmark Time Integration
Newmark Time Integration
Mohammad Tawfik
 
Interpolation
InterpolationInterpolation
Interpolationmbhuiya6
 
What is Optimization
What is OptimizationWhat is Optimization
What is Optimization
Mohammad Tawfik
 
08 interpolation lagrange
08 interpolation   lagrange08 interpolation   lagrange
08 interpolation lagrangeMohammad Tawfik
 
Applied numerical methods lec9
Applied numerical methods lec9Applied numerical methods lec9
Applied numerical methods lec9
Yasser Ahmed
 
Newton’s Divided Difference Formula
Newton’s Divided Difference FormulaNewton’s Divided Difference Formula
Newton’s Divided Difference Formula
Jas Singh Bhasin
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
VISHAL DONGA
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
Sunny Chauhan
 
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
APPLICATION OF NUMERICAL METHODS IN SMALL SIZEAPPLICATION OF NUMERICAL METHODS IN SMALL SIZE
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
m.kumarasamy college of engineering
 
LINEAR OPTIMIZATION
LINEAR OPTIMIZATIONLINEAR OPTIMIZATION
LINEAR OPTIMIZATION
Er Ashish Bansode
 

Viewers also liked (20)

Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical Analysis
 
interpolation
interpolationinterpolation
interpolation
 
Regression
RegressionRegression
Regression
 
Interpolation with unequal interval
Interpolation with unequal intervalInterpolation with unequal interval
Interpolation with unequal interval
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
Es272 ch5b
Es272 ch5bEs272 ch5b
Es272 ch5b
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
 
Boundary Value Problems - Finite Difference
Boundary Value Problems - Finite DifferenceBoundary Value Problems - Finite Difference
Boundary Value Problems - Finite Difference
 
Lagrange’s interpolation formula
Lagrange’s interpolation formulaLagrange’s interpolation formula
Lagrange’s interpolation formula
 
Newmark Time Integration
Newmark Time IntegrationNewmark Time Integration
Newmark Time Integration
 
Interpolation
InterpolationInterpolation
Interpolation
 
What is Optimization
What is OptimizationWhat is Optimization
What is Optimization
 
Numerical method
Numerical methodNumerical method
Numerical method
 
08 interpolation lagrange
08 interpolation   lagrange08 interpolation   lagrange
08 interpolation lagrange
 
Applied numerical methods lec9
Applied numerical methods lec9Applied numerical methods lec9
Applied numerical methods lec9
 
Newton’s Divided Difference Formula
Newton’s Divided Difference FormulaNewton’s Divided Difference Formula
Newton’s Divided Difference Formula
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
APPLICATION OF NUMERICAL METHODS IN SMALL SIZEAPPLICATION OF NUMERICAL METHODS IN SMALL SIZE
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
 
LINEAR OPTIMIZATION
LINEAR OPTIMIZATIONLINEAR OPTIMIZATION
LINEAR OPTIMIZATION
 

More from Mohammad Tawfik

Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073
Mohammad Tawfik
 
Supply Chain Management 01 - Introduction
Supply Chain Management 01 - IntroductionSupply Chain Management 01 - Introduction
Supply Chain Management 01 - Introduction
Mohammad Tawfik
 
Supply Chain Management 02 - Logistics
Supply Chain Management 02 - LogisticsSupply Chain Management 02 - Logistics
Supply Chain Management 02 - Logistics
Mohammad Tawfik
 
Supply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory ManagementSupply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory Management
Mohammad Tawfik
 
Creative problem solving and decision making
Creative problem solving and decision makingCreative problem solving and decision making
Creative problem solving and decision making
Mohammad Tawfik
 
Digital content for teaching introduction
Digital content for teaching introductionDigital content for teaching introduction
Digital content for teaching introduction
Mohammad Tawfik
 
Crisis Management Basics
Crisis Management BasicsCrisis Management Basics
Crisis Management Basics
Mohammad Tawfik
 
DISC Personality Model
DISC Personality ModelDISC Personality Model
DISC Personality Model
Mohammad Tawfik
 
Training of Trainers
Training of TrainersTraining of Trainers
Training of Trainers
Mohammad Tawfik
 
Effective Delegation Skills
Effective Delegation SkillsEffective Delegation Skills
Effective Delegation Skills
Mohammad Tawfik
 
Train The Trainer
Train The TrainerTrain The Trainer
Train The Trainer
Mohammad Tawfik
 
Business Management - Marketing
Business Management - MarketingBusiness Management - Marketing
Business Management - Marketing
Mohammad Tawfik
 
Stress Management
Stress ManagementStress Management
Stress Management
Mohammad Tawfik
 
Project Management (CAPM) - Integration
Project Management (CAPM) - IntegrationProject Management (CAPM) - Integration
Project Management (CAPM) - Integration
Mohammad Tawfik
 
Project Management (CAPM) - The Framework
Project Management (CAPM) - The FrameworkProject Management (CAPM) - The Framework
Project Management (CAPM) - The Framework
Mohammad Tawfik
 
Project Management (CAPM) - Introduction
Project Management (CAPM) - IntroductionProject Management (CAPM) - Introduction
Project Management (CAPM) - Introduction
Mohammad Tawfik
 
The Creative Individual
The Creative IndividualThe Creative Individual
The Creative Individual
Mohammad Tawfik
 
Introduction to Wind Energy
Introduction to Wind EnergyIntroduction to Wind Energy
Introduction to Wind Energy
Mohammad Tawfik
 
Future of Drones ITW'16
Future of Drones ITW'16Future of Drones ITW'16
Future of Drones ITW'16
Mohammad Tawfik
 
Vibration Absorber
Vibration AbsorberVibration Absorber
Vibration Absorber
Mohammad Tawfik
 

More from Mohammad Tawfik (20)

Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073
 
Supply Chain Management 01 - Introduction
Supply Chain Management 01 - IntroductionSupply Chain Management 01 - Introduction
Supply Chain Management 01 - Introduction
 
Supply Chain Management 02 - Logistics
Supply Chain Management 02 - LogisticsSupply Chain Management 02 - Logistics
Supply Chain Management 02 - Logistics
 
Supply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory ManagementSupply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory Management
 
Creative problem solving and decision making
Creative problem solving and decision makingCreative problem solving and decision making
Creative problem solving and decision making
 
Digital content for teaching introduction
Digital content for teaching introductionDigital content for teaching introduction
Digital content for teaching introduction
 
Crisis Management Basics
Crisis Management BasicsCrisis Management Basics
Crisis Management Basics
 
DISC Personality Model
DISC Personality ModelDISC Personality Model
DISC Personality Model
 
Training of Trainers
Training of TrainersTraining of Trainers
Training of Trainers
 
Effective Delegation Skills
Effective Delegation SkillsEffective Delegation Skills
Effective Delegation Skills
 
Train The Trainer
Train The TrainerTrain The Trainer
Train The Trainer
 
Business Management - Marketing
Business Management - MarketingBusiness Management - Marketing
Business Management - Marketing
 
Stress Management
Stress ManagementStress Management
Stress Management
 
Project Management (CAPM) - Integration
Project Management (CAPM) - IntegrationProject Management (CAPM) - Integration
Project Management (CAPM) - Integration
 
Project Management (CAPM) - The Framework
Project Management (CAPM) - The FrameworkProject Management (CAPM) - The Framework
Project Management (CAPM) - The Framework
 
Project Management (CAPM) - Introduction
Project Management (CAPM) - IntroductionProject Management (CAPM) - Introduction
Project Management (CAPM) - Introduction
 
The Creative Individual
The Creative IndividualThe Creative Individual
The Creative Individual
 
Introduction to Wind Energy
Introduction to Wind EnergyIntroduction to Wind Energy
Introduction to Wind Energy
 
Future of Drones ITW'16
Future of Drones ITW'16Future of Drones ITW'16
Future of Drones ITW'16
 
Vibration Absorber
Vibration AbsorberVibration Absorber
Vibration Absorber
 

Recently uploaded

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 

Recently uploaded (20)

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 

Interpolation Generalized

  • 1. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Generalized Approach to Interpolation Mohammad Tawfik
  • 2. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Generalization • Lets represent the relation between the dependent and independent variables as follows:      axhxy n i i i xa  0          T nn nn aaaaaa xxxxxh 1210 12 ... ...1    
  • 3. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Generalization (cont’d) • That is valid if you have (n+1) data points through which you want to interpolate an nth order polynomial.
  • 4. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Generalization (cont’d) • Now, let’s use those points:         ahaxhxyy n i i i xa 11 0 11 1           ahaxh n xyy nn n i i inn xa 11 0 11 1        
  • 5. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Generalization (cont’d) • Or simply:             aTa h h h y n               1 2 1  1 ,   j iji xTwhere
  • 6. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Now, we may … 1. Solve the above equations simultaneously to obtain the values for {a} and explicitly write the relation as a polynomial in x:        yTxhxy 1 
  • 7. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Now, we may … 2. Just invert the transformation matrix [T] and substitute in the original relation to obtain a summation of weighted functions In this case, each function N(x) is an nth order polynomial! (Recall Lagrange interpolation)                    1 1 1 n j jj yxN yxNyTxhxy
  • 8. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com • Where      n i ji i j TxxN 0 1 ,1.
  • 9. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Interpolation Involving Derivatives!
  • 10. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Interpolation Involving Derivatives! • In many practical cases, we may encounter data involving the first or second derivatives of the function! • However, we still need to have (n+1) pieces of information to be able to interpolate nth order polynomial • We will follow the same approach, but with a simple modification
  • 11. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Given the data … • Assume that you are given the data of the function value and the slope at m-points. Where 2*m=n+1 (the order of the polynomial)
  • 12. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Following the previous procedure … • Lets represent the relation between the dependent and independent variables as follows:      axhxy n i i i xa  0          T nn nn aaaaaa xxxxxh 1210 12 ... ...1    
  • 13. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com The twist … • Now, let’s use that data:                aha dx xdh dx dy y but ahaxhxyy xxxx n i i i xa ' 1 ' 1 11 0 11 11 1           
  • 14. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Which gives us …             aTa h h h h y y y y m m m m                                   ' ' 1 1 ' ' 1 1 
  • 15. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Now … • We can solve for the parameters {a} OR • Obtain the N(x) functions as before.
  • 16. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Interpolation with more than one variable!
  • 17. Generalized Approach to Interpolation Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com We will be using the same approach … • If you have a function f(x,y) measured at (n+1) points in the x-direction, and at (m+1) points in the y-directions, you may be able to write: • The follow the same procedure described before        1),1)*(1()1)*(1(,1 0 0 , ,,      mnmn n i m j ji ji ayxhyxayxf