SlideShare a Scribd company logo
1 of 6
Download to read offline
a) Use Newton’s Polynomials for Evenly Spaced data to derive the O(h4) accurate Second
Centered Difference approximation of the 1st derivative at nx. Start with a polynomial fit to
points at n-2x , n-1x, nx , n+1x and n+2x .
b) Use Newton’s Polynomials for Evenly Spaced data to derive the O(h4) accurate Second
Centered Difference approximation of the 2nd derivative at nx . Remember, to keep the same
O(h4) accuracy, while taking one more derivative than in Part a, we need to add a point to the
polynomial we used in part a.t,s01530456075y,km0356488107120
Solution
An interpolation assignment generally entails a given set of information points: in which the
values yi can,
xi x0 x1 ... xn
f(xi) y0 y1 ... yn
for instance, be the result of a few bodily measurement or they can come from a long
numerical calculation. hence we know the fee of the underlying characteristic f(x) at the set
of points xi, and we want to discover an analytic expression for f .
In interpolation, the assignment is to estimate f(x) for arbitrary x that lies among the smallest
and the most important xi
. If x is out of doors the variety of the xi’s, then the task is called extrapolation,
which is substantially greater unsafe.
with the aid of far the maximum not unusual useful paperwork utilized in interpolation are the
polynomials.
different picks encompass, as an instance, trigonometric functions and spline features
(mentioned
later during this direction).
Examples of different sorts of interpolation responsibilities include:
1. Having the set of n + 1 information factors xi
, yi, we want to understand the fee of y in the
complete c program languageperiod x = [x0, xn]; i.e. we need to find a simple formulation
which reproduces
the given points exactly.
2. If the set of statistics factors contain errors (e.g. if they are measured values), then we
ask for a components that represents the records, and if feasible, filters out the errors.
3. A feature f may be given within the shape of a pc system which is high priced
to assess. In this case, we want to find a characteristic g which offers a very good
approximation of f and is simpler to assess.
2 Polynomial interpolation
2.1 Interpolating polynomial
Given a fixed of n + 1 records points xi
, yi, we need to discover a polynomial curve that passes
via all the factors. as a consequence, we search for a non-stop curve which takes at the values yi
for every of the n+1 wonderful xi’s.
A polynomial p for which p(xi) = yi whilst zero i n is stated to interpolate the given set of
records points. The factors xi are known as nodes.
The trivial case is n = zero. right here a steady function p(x) = y0 solves the hassle.
The only case is n = 1. In this situation, the polynomial p is a directly line described via
p(x) =
xx1
x0 x1
y0 +
xx0
x1 x0
y1
= y0 +
y1 y0
x1 x0
(xx0)
here p is used for linear interpolation.
As we will see, the interpolating polynomial may be written in an expansion of paperwork,
among
these are the Newton shape and the Lagrange shape. those forms are equivalent inside the
feel that the polynomial in question is the only and the same (in reality, the answer to the
interpolation undertaking is given with the aid of a completely unique polynomial)
We begin by means of discussing the conceptually less difficult Lagrange form. but, a
straightforward
implementation of this form is relatively awkward to software and unsuitable for
numerical assessment (e.g. the ensuing set of rules offers no error estimate). The Newton
shape is tons greater convenient and efficient, and therefore, it's far used as the basis for
numerical algorithms.
2.2 Lagrange shape
First define a device of n+1 unique polynomials li called cardinal capabilities. these
have the following belongings:
2.3 existence of interpolating polynomial
Theorem. If points x0, x1,..., xn are wonderful, then for arbitrary actual values y0, y1,..., yn,
there is a unique polynomial p of degree n such that p(xi) = yi for 0 i n.
the concept may be established by means of inductive reasoning. think that we've succeeded in
finding a polynomial p that reproduces part of the given set of records points; e.g. p(xi) = yi
for 0 i okay.
We then try and add another time period to p such that the ensuing curve will skip via
but any other information point xk+1. We remember
q(x) = p(x) +c(xx0)(xx1)...(xxk)
in which c is a constant to be determined.
that is a polynomial and it reproduces the primary k statistics points because p does so and the
brought time period is 0 at every of the factors x0, x1,..., xk
.
We now adjust the value of c in this type of manner that the new polynomial q takes the cost
yk+1
at xk+1. We obtain
q(xk+1) = p(xk+1) +c(xk+1 x0)(xk+1 x1)...(xk+1 xk) = yk+1
The right fee of c may be obtained from this equation in view that all the xi’s are awesome
Newton shape
The inductive evidence of the existence of interpolating polynomial theorem provides a
technique for constructing an interpolating polynomial. The approach is referred to as the
Newton
algorithm.
The approach is based totally on building successive polynomials p0, p1, p2,... till the desired
diploma n is reached (determined via the quantity of statistics points = n+1).
the first polynomial is given by way of
p0(x) = y0
including the second one time period offers
p1(x) = p0(x) +c1(xx0) = y0 +c1(xx0)
Interpolation circumstance is p1(x1) = y1. as a result we gain
y0 +c1(x1 x0) = y1
which leads to
c1 =
y1 y0
x1 x0
The fee of c is evaluated and located within the system for p1.
We then retain to the third time period that is given through
p2(x) = p1(x) +c2(xx0)(xx1) = y0 +c1(xx0) +c2(xx0)(xx1)
We once more impose the interpolation condition p2(x2) = y2 and use it to calculate the price
of c.
The iteration for the kth polynomial is
pk(x) = pk1(x) +ck(xx0)(xx1)...(xxk1)
in the end we acquire the Newton shape of the interpolating polynomial:
pn(x) = a0 +a1(xx0) +a2(xx0)(xx1)...+an(xx0)...(xxn1)
in which the coefficients y0, c1, c2,... had been denoted by ai
.
example.
locate the Newton form of the interpolating polynomial for the subsequent table of values:
x 1/3 1/4 1
y 2 1 7
we can assemble three successive polynomials p0, p1 and p2. the first one is
p0(x) = 2
the subsequent one is given with the aid of
p1(x) = p0(x) +c1(xx0) = 2+c1(x1/three)
the usage of the interpolation circumstance p1(1/4) = 1, we achieve c1 = 36, and
p1(x) = 2+36(x1/three)
ultimately,
p2(x) = p1(x) +c2(xx0)(xx1)
= 2+36(x1/3) +c2(x1/3)(x1/4)
The interpolation situation offers p2(1) = 7, and hence c2 = 38.
The Newton form of the interpolating polynomial is
p2(x) = 2+36(x1/three)38(x1/3)(x1/four)
assessment of Lagrange and Newton forms
Lagrange form
p2(x) =36(x1/four)(x1)
sixteen(x1/3)(x1)
+14(x1/three)(x1/four)
Newton shape
p2(x) = 2+36(x1/three)38(x1/three)(x1/4)
these two polynomials are equivalent, i.e:
p2(x) = 38x
2 + (349/6)x79/6
For green evaluation, the Newton shape may be rewritten in a so-referred to as nested form. This
form is received by using systematic factorisation of the unique polynomial.
keep in mind a popular polynomial in the Newton shape
pn(x) = a0 +a1(xx0) +a2(xx0)(xx1)...+an(xx0)...(xxn1)
this will be written as
pn(x) = a0 +
n
i=1
ai
"
i1
j=0
(xxj)
#
allow us to now rewrite the Newton shape of the interpolating polynomial inside the nested form
by means of the usage of the common terms (xxi) for factoring. We achieve
pn(x) = a0 + (xx0)(a1 + (xx1)(a2 + (xx2)(a3 +...+ (xxn1)an)...))
that is called the nested form and its assessment is completed by way of nested multiplication.
when comparing p(x) for a given numerical fee of x = t, we evidently begin with the
innermost parenthesis:
v0 = an
v1 = v0(t xn1) +an1
v2 = v1(t xn2) +an2
.
.
.
vn = vn1(t x0) +a0
the amount vn is p(t).
within the actual implementation, we handiest want one variable v. the subsequent pseudocode
suggests how the assessment of p(x = t) is completed effectively once the coefficients ai of the
Newton shape are regarded. The array (xi)zero:n incorporates the n+1 nodes xi
.

More Related Content

Similar to a) Use Newton’s Polynomials for Evenly Spaced data to derive the O(h.pdf

Contribution of Fixed Point Theorem in Quasi Metric Spaces
Contribution of Fixed Point Theorem in Quasi Metric SpacesContribution of Fixed Point Theorem in Quasi Metric Spaces
Contribution of Fixed Point Theorem in Quasi Metric SpacesAM Publications,India
 
01 EC 7311-Module IV.pptx
01 EC 7311-Module IV.pptx01 EC 7311-Module IV.pptx
01 EC 7311-Module IV.pptxVSUDHEER4
 
On Application of the Fixed-Point Theorem to the Solution of Ordinary Differe...
On Application of the Fixed-Point Theorem to the Solution of Ordinary Differe...On Application of the Fixed-Point Theorem to the Solution of Ordinary Differe...
On Application of the Fixed-Point Theorem to the Solution of Ordinary Differe...BRNSS Publication Hub
 
Polynomial functions modelllings
Polynomial functions modelllingsPolynomial functions modelllings
Polynomial functions modelllingsTarun Gehlot
 
Chapter 4 solving systems of nonlinear equations
Chapter 4 solving systems of nonlinear equationsChapter 4 solving systems of nonlinear equations
Chapter 4 solving systems of nonlinear equationsssuser53ee01
 
Solution set 3
Solution set 3Solution set 3
Solution set 3慧环 赵
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert Spaces
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert SpacesApproximation Methods Of Solutions For Equilibrium Problem In Hilbert Spaces
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert SpacesLisa Garcia
 
Radial Basis Function Interpolation
Radial Basis Function InterpolationRadial Basis Function Interpolation
Radial Basis Function InterpolationJesse Bettencourt
 
Introduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksIntroduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksFederico Cerutti
 

Similar to a) Use Newton’s Polynomials for Evenly Spaced data to derive the O(h.pdf (20)

Contribution of Fixed Point Theorem in Quasi Metric Spaces
Contribution of Fixed Point Theorem in Quasi Metric SpacesContribution of Fixed Point Theorem in Quasi Metric Spaces
Contribution of Fixed Point Theorem in Quasi Metric Spaces
 
02_AJMS_186_19_RA.pdf
02_AJMS_186_19_RA.pdf02_AJMS_186_19_RA.pdf
02_AJMS_186_19_RA.pdf
 
02_AJMS_186_19_RA.pdf
02_AJMS_186_19_RA.pdf02_AJMS_186_19_RA.pdf
02_AJMS_186_19_RA.pdf
 
05_AJMS_332_21.pdf
05_AJMS_332_21.pdf05_AJMS_332_21.pdf
05_AJMS_332_21.pdf
 
01 EC 7311-Module IV.pptx
01 EC 7311-Module IV.pptx01 EC 7311-Module IV.pptx
01 EC 7311-Module IV.pptx
 
On Application of the Fixed-Point Theorem to the Solution of Ordinary Differe...
On Application of the Fixed-Point Theorem to the Solution of Ordinary Differe...On Application of the Fixed-Point Theorem to the Solution of Ordinary Differe...
On Application of the Fixed-Point Theorem to the Solution of Ordinary Differe...
 
Polynomial functions modelllings
Polynomial functions modelllingsPolynomial functions modelllings
Polynomial functions modelllings
 
Chapter 4 solving systems of nonlinear equations
Chapter 4 solving systems of nonlinear equationsChapter 4 solving systems of nonlinear equations
Chapter 4 solving systems of nonlinear equations
 
Diffusion Homework Help
Diffusion Homework HelpDiffusion Homework Help
Diffusion Homework Help
 
plucker
pluckerplucker
plucker
 
Statistical Physics Assignment Help
Statistical Physics Assignment HelpStatistical Physics Assignment Help
Statistical Physics Assignment Help
 
Statistical Method In Economics
Statistical Method In EconomicsStatistical Method In Economics
Statistical Method In Economics
 
Task 4
Task 4Task 4
Task 4
 
R180304110115
R180304110115R180304110115
R180304110115
 
Solution set 3
Solution set 3Solution set 3
Solution set 3
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert Spaces
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert SpacesApproximation Methods Of Solutions For Equilibrium Problem In Hilbert Spaces
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert Spaces
 
Northcott1957 (1)
Northcott1957 (1)Northcott1957 (1)
Northcott1957 (1)
 
Radial Basis Function Interpolation
Radial Basis Function InterpolationRadial Basis Function Interpolation
Radial Basis Function Interpolation
 
Introduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksIntroduction to Evidential Neural Networks
Introduction to Evidential Neural Networks
 

More from petercoiffeur18

John, a sociologist, will be focusing on how larger societal institu.pdf
John, a sociologist, will be focusing on how larger societal institu.pdfJohn, a sociologist, will be focusing on how larger societal institu.pdf
John, a sociologist, will be focusing on how larger societal institu.pdfpetercoiffeur18
 
Implement the ListArray ADT-Implement the following operations.pdf
Implement the ListArray ADT-Implement the following operations.pdfImplement the ListArray ADT-Implement the following operations.pdf
Implement the ListArray ADT-Implement the following operations.pdfpetercoiffeur18
 
In what ways do humans effect the environment Explain in 200 words.pdf
In what ways do humans effect the environment Explain in 200 words.pdfIn what ways do humans effect the environment Explain in 200 words.pdf
In what ways do humans effect the environment Explain in 200 words.pdfpetercoiffeur18
 
i need a taking turn method for a player vs computer battleship game.pdf
i need a taking turn method for a player vs computer battleship game.pdfi need a taking turn method for a player vs computer battleship game.pdf
i need a taking turn method for a player vs computer battleship game.pdfpetercoiffeur18
 
I am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdfI am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdfpetercoiffeur18
 
how internal resources and capabilities can be a source of sustainab.pdf
how internal resources and capabilities can be a source of sustainab.pdfhow internal resources and capabilities can be a source of sustainab.pdf
how internal resources and capabilities can be a source of sustainab.pdfpetercoiffeur18
 
For an organism that is growing using glucose as the electron donor, .pdf
For an organism that is growing using glucose as the electron donor, .pdfFor an organism that is growing using glucose as the electron donor, .pdf
For an organism that is growing using glucose as the electron donor, .pdfpetercoiffeur18
 
Exercise 5.6.28. For each of the following descriptions of a function.pdf
Exercise 5.6.28. For each of the following descriptions of a function.pdfExercise 5.6.28. For each of the following descriptions of a function.pdf
Exercise 5.6.28. For each of the following descriptions of a function.pdfpetercoiffeur18
 
Discuss concepts associated with mercantilism demonstrating key poli.pdf
Discuss concepts associated with mercantilism demonstrating key poli.pdfDiscuss concepts associated with mercantilism demonstrating key poli.pdf
Discuss concepts associated with mercantilism demonstrating key poli.pdfpetercoiffeur18
 
C++ Caesar Cipher project. Write your codes for the following functi.pdf
C++ Caesar Cipher project. Write your codes for the following functi.pdfC++ Caesar Cipher project. Write your codes for the following functi.pdf
C++ Caesar Cipher project. Write your codes for the following functi.pdfpetercoiffeur18
 
any idea#includeiostream using stdcout; using stdendl; .pdf
any idea#includeiostream using stdcout; using stdendl; .pdfany idea#includeiostream using stdcout; using stdendl; .pdf
any idea#includeiostream using stdcout; using stdendl; .pdfpetercoiffeur18
 
A radio station has a power output of 200 watts. What is the intensit.pdf
A radio station has a power output of 200 watts. What is the intensit.pdfA radio station has a power output of 200 watts. What is the intensit.pdf
A radio station has a power output of 200 watts. What is the intensit.pdfpetercoiffeur18
 
21) What are the fundamental particles of lepton and quarks How man.pdf
21) What are the fundamental particles of lepton and quarks How man.pdf21) What are the fundamental particles of lepton and quarks How man.pdf
21) What are the fundamental particles of lepton and quarks How man.pdfpetercoiffeur18
 
Case 1-A Transition to SupervisorTristan came in on the ground fl.pdf
Case 1-A Transition to SupervisorTristan came in on the ground fl.pdfCase 1-A Transition to SupervisorTristan came in on the ground fl.pdf
Case 1-A Transition to SupervisorTristan came in on the ground fl.pdfpetercoiffeur18
 
x , y Midterm Exsm-201840x Exam C httpsbb-montgomerycollege.blac.pdf
x , y Midterm Exsm-201840x Exam C httpsbb-montgomerycollege.blac.pdfx , y Midterm Exsm-201840x Exam C httpsbb-montgomerycollege.blac.pdf
x , y Midterm Exsm-201840x Exam C httpsbb-montgomerycollege.blac.pdfpetercoiffeur18
 
Why would a cell want to express genes in an operon Why notSol.pdf
Why would a cell want to express genes in an operon Why notSol.pdfWhy would a cell want to express genes in an operon Why notSol.pdf
Why would a cell want to express genes in an operon Why notSol.pdfpetercoiffeur18
 
When discussing the epidemiology of virus infections, the CDC often .pdf
When discussing the epidemiology of virus infections, the CDC often .pdfWhen discussing the epidemiology of virus infections, the CDC often .pdf
When discussing the epidemiology of virus infections, the CDC often .pdfpetercoiffeur18
 
What relationship is there between gobalization and development.pdf
What relationship is there between gobalization and development.pdfWhat relationship is there between gobalization and development.pdf
What relationship is there between gobalization and development.pdfpetercoiffeur18
 
what is the number between 4.5 and 4.75 on the number linew.pdf
what is the number between 4.5 and 4.75 on the number linew.pdfwhat is the number between 4.5 and 4.75 on the number linew.pdf
what is the number between 4.5 and 4.75 on the number linew.pdfpetercoiffeur18
 
What are the five main goals for Operations Managers, and how do the.pdf
What are the five main goals for Operations Managers, and how do the.pdfWhat are the five main goals for Operations Managers, and how do the.pdf
What are the five main goals for Operations Managers, and how do the.pdfpetercoiffeur18
 

More from petercoiffeur18 (20)

John, a sociologist, will be focusing on how larger societal institu.pdf
John, a sociologist, will be focusing on how larger societal institu.pdfJohn, a sociologist, will be focusing on how larger societal institu.pdf
John, a sociologist, will be focusing on how larger societal institu.pdf
 
Implement the ListArray ADT-Implement the following operations.pdf
Implement the ListArray ADT-Implement the following operations.pdfImplement the ListArray ADT-Implement the following operations.pdf
Implement the ListArray ADT-Implement the following operations.pdf
 
In what ways do humans effect the environment Explain in 200 words.pdf
In what ways do humans effect the environment Explain in 200 words.pdfIn what ways do humans effect the environment Explain in 200 words.pdf
In what ways do humans effect the environment Explain in 200 words.pdf
 
i need a taking turn method for a player vs computer battleship game.pdf
i need a taking turn method for a player vs computer battleship game.pdfi need a taking turn method for a player vs computer battleship game.pdf
i need a taking turn method for a player vs computer battleship game.pdf
 
I am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdfI am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdf
 
how internal resources and capabilities can be a source of sustainab.pdf
how internal resources and capabilities can be a source of sustainab.pdfhow internal resources and capabilities can be a source of sustainab.pdf
how internal resources and capabilities can be a source of sustainab.pdf
 
For an organism that is growing using glucose as the electron donor, .pdf
For an organism that is growing using glucose as the electron donor, .pdfFor an organism that is growing using glucose as the electron donor, .pdf
For an organism that is growing using glucose as the electron donor, .pdf
 
Exercise 5.6.28. For each of the following descriptions of a function.pdf
Exercise 5.6.28. For each of the following descriptions of a function.pdfExercise 5.6.28. For each of the following descriptions of a function.pdf
Exercise 5.6.28. For each of the following descriptions of a function.pdf
 
Discuss concepts associated with mercantilism demonstrating key poli.pdf
Discuss concepts associated with mercantilism demonstrating key poli.pdfDiscuss concepts associated with mercantilism demonstrating key poli.pdf
Discuss concepts associated with mercantilism demonstrating key poli.pdf
 
C++ Caesar Cipher project. Write your codes for the following functi.pdf
C++ Caesar Cipher project. Write your codes for the following functi.pdfC++ Caesar Cipher project. Write your codes for the following functi.pdf
C++ Caesar Cipher project. Write your codes for the following functi.pdf
 
any idea#includeiostream using stdcout; using stdendl; .pdf
any idea#includeiostream using stdcout; using stdendl; .pdfany idea#includeiostream using stdcout; using stdendl; .pdf
any idea#includeiostream using stdcout; using stdendl; .pdf
 
A radio station has a power output of 200 watts. What is the intensit.pdf
A radio station has a power output of 200 watts. What is the intensit.pdfA radio station has a power output of 200 watts. What is the intensit.pdf
A radio station has a power output of 200 watts. What is the intensit.pdf
 
21) What are the fundamental particles of lepton and quarks How man.pdf
21) What are the fundamental particles of lepton and quarks How man.pdf21) What are the fundamental particles of lepton and quarks How man.pdf
21) What are the fundamental particles of lepton and quarks How man.pdf
 
Case 1-A Transition to SupervisorTristan came in on the ground fl.pdf
Case 1-A Transition to SupervisorTristan came in on the ground fl.pdfCase 1-A Transition to SupervisorTristan came in on the ground fl.pdf
Case 1-A Transition to SupervisorTristan came in on the ground fl.pdf
 
x , y Midterm Exsm-201840x Exam C httpsbb-montgomerycollege.blac.pdf
x , y Midterm Exsm-201840x Exam C httpsbb-montgomerycollege.blac.pdfx , y Midterm Exsm-201840x Exam C httpsbb-montgomerycollege.blac.pdf
x , y Midterm Exsm-201840x Exam C httpsbb-montgomerycollege.blac.pdf
 
Why would a cell want to express genes in an operon Why notSol.pdf
Why would a cell want to express genes in an operon Why notSol.pdfWhy would a cell want to express genes in an operon Why notSol.pdf
Why would a cell want to express genes in an operon Why notSol.pdf
 
When discussing the epidemiology of virus infections, the CDC often .pdf
When discussing the epidemiology of virus infections, the CDC often .pdfWhen discussing the epidemiology of virus infections, the CDC often .pdf
When discussing the epidemiology of virus infections, the CDC often .pdf
 
What relationship is there between gobalization and development.pdf
What relationship is there between gobalization and development.pdfWhat relationship is there between gobalization and development.pdf
What relationship is there between gobalization and development.pdf
 
what is the number between 4.5 and 4.75 on the number linew.pdf
what is the number between 4.5 and 4.75 on the number linew.pdfwhat is the number between 4.5 and 4.75 on the number linew.pdf
what is the number between 4.5 and 4.75 on the number linew.pdf
 
What are the five main goals for Operations Managers, and how do the.pdf
What are the five main goals for Operations Managers, and how do the.pdfWhat are the five main goals for Operations Managers, and how do the.pdf
What are the five main goals for Operations Managers, and how do the.pdf
 

Recently uploaded

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 

Recently uploaded (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

a) Use Newton’s Polynomials for Evenly Spaced data to derive the O(h.pdf

  • 1. a) Use Newton’s Polynomials for Evenly Spaced data to derive the O(h4) accurate Second Centered Difference approximation of the 1st derivative at nx. Start with a polynomial fit to points at n-2x , n-1x, nx , n+1x and n+2x . b) Use Newton’s Polynomials for Evenly Spaced data to derive the O(h4) accurate Second Centered Difference approximation of the 2nd derivative at nx . Remember, to keep the same O(h4) accuracy, while taking one more derivative than in Part a, we need to add a point to the polynomial we used in part a.t,s01530456075y,km0356488107120 Solution An interpolation assignment generally entails a given set of information points: in which the values yi can, xi x0 x1 ... xn f(xi) y0 y1 ... yn for instance, be the result of a few bodily measurement or they can come from a long numerical calculation. hence we know the fee of the underlying characteristic f(x) at the set of points xi, and we want to discover an analytic expression for f . In interpolation, the assignment is to estimate f(x) for arbitrary x that lies among the smallest and the most important xi . If x is out of doors the variety of the xi’s, then the task is called extrapolation, which is substantially greater unsafe. with the aid of far the maximum not unusual useful paperwork utilized in interpolation are the polynomials. different picks encompass, as an instance, trigonometric functions and spline features (mentioned later during this direction). Examples of different sorts of interpolation responsibilities include: 1. Having the set of n + 1 information factors xi , yi, we want to understand the fee of y in the complete c program languageperiod x = [x0, xn]; i.e. we need to find a simple formulation which reproduces the given points exactly. 2. If the set of statistics factors contain errors (e.g. if they are measured values), then we ask for a components that represents the records, and if feasible, filters out the errors. 3. A feature f may be given within the shape of a pc system which is high priced
  • 2. to assess. In this case, we want to find a characteristic g which offers a very good approximation of f and is simpler to assess. 2 Polynomial interpolation 2.1 Interpolating polynomial Given a fixed of n + 1 records points xi , yi, we need to discover a polynomial curve that passes via all the factors. as a consequence, we search for a non-stop curve which takes at the values yi for every of the n+1 wonderful xi’s. A polynomial p for which p(xi) = yi whilst zero i n is stated to interpolate the given set of records points. The factors xi are known as nodes. The trivial case is n = zero. right here a steady function p(x) = y0 solves the hassle. The only case is n = 1. In this situation, the polynomial p is a directly line described via p(x) = xx1 x0 x1 y0 + xx0 x1 x0 y1 = y0 + y1 y0 x1 x0 (xx0) here p is used for linear interpolation. As we will see, the interpolating polynomial may be written in an expansion of paperwork, among these are the Newton shape and the Lagrange shape. those forms are equivalent inside the feel that the polynomial in question is the only and the same (in reality, the answer to the interpolation undertaking is given with the aid of a completely unique polynomial) We begin by means of discussing the conceptually less difficult Lagrange form. but, a straightforward
  • 3. implementation of this form is relatively awkward to software and unsuitable for numerical assessment (e.g. the ensuing set of rules offers no error estimate). The Newton shape is tons greater convenient and efficient, and therefore, it's far used as the basis for numerical algorithms. 2.2 Lagrange shape First define a device of n+1 unique polynomials li called cardinal capabilities. these have the following belongings: 2.3 existence of interpolating polynomial Theorem. If points x0, x1,..., xn are wonderful, then for arbitrary actual values y0, y1,..., yn, there is a unique polynomial p of degree n such that p(xi) = yi for 0 i n. the concept may be established by means of inductive reasoning. think that we've succeeded in finding a polynomial p that reproduces part of the given set of records points; e.g. p(xi) = yi for 0 i okay. We then try and add another time period to p such that the ensuing curve will skip via but any other information point xk+1. We remember q(x) = p(x) +c(xx0)(xx1)...(xxk) in which c is a constant to be determined. that is a polynomial and it reproduces the primary k statistics points because p does so and the brought time period is 0 at every of the factors x0, x1,..., xk . We now adjust the value of c in this type of manner that the new polynomial q takes the cost yk+1 at xk+1. We obtain q(xk+1) = p(xk+1) +c(xk+1 x0)(xk+1 x1)...(xk+1 xk) = yk+1 The right fee of c may be obtained from this equation in view that all the xi’s are awesome Newton shape The inductive evidence of the existence of interpolating polynomial theorem provides a technique for constructing an interpolating polynomial. The approach is referred to as the Newton algorithm. The approach is based totally on building successive polynomials p0, p1, p2,... till the desired diploma n is reached (determined via the quantity of statistics points = n+1). the first polynomial is given by way of p0(x) = y0 including the second one time period offers p1(x) = p0(x) +c1(xx0) = y0 +c1(xx0)
  • 4. Interpolation circumstance is p1(x1) = y1. as a result we gain y0 +c1(x1 x0) = y1 which leads to c1 = y1 y0 x1 x0 The fee of c is evaluated and located within the system for p1. We then retain to the third time period that is given through p2(x) = p1(x) +c2(xx0)(xx1) = y0 +c1(xx0) +c2(xx0)(xx1) We once more impose the interpolation condition p2(x2) = y2 and use it to calculate the price of c. The iteration for the kth polynomial is pk(x) = pk1(x) +ck(xx0)(xx1)...(xxk1) in the end we acquire the Newton shape of the interpolating polynomial: pn(x) = a0 +a1(xx0) +a2(xx0)(xx1)...+an(xx0)...(xxn1) in which the coefficients y0, c1, c2,... had been denoted by ai . example. locate the Newton form of the interpolating polynomial for the subsequent table of values: x 1/3 1/4 1 y 2 1 7 we can assemble three successive polynomials p0, p1 and p2. the first one is p0(x) = 2 the subsequent one is given with the aid of p1(x) = p0(x) +c1(xx0) = 2+c1(x1/three) the usage of the interpolation circumstance p1(1/4) = 1, we achieve c1 = 36, and p1(x) = 2+36(x1/three) ultimately, p2(x) = p1(x) +c2(xx0)(xx1) = 2+36(x1/3) +c2(x1/3)(x1/4) The interpolation situation offers p2(1) = 7, and hence c2 = 38. The Newton form of the interpolating polynomial is p2(x) = 2+36(x1/three)38(x1/3)(x1/four) assessment of Lagrange and Newton forms Lagrange form p2(x) =36(x1/four)(x1)
  • 5. sixteen(x1/3)(x1) +14(x1/three)(x1/four) Newton shape p2(x) = 2+36(x1/three)38(x1/three)(x1/4) these two polynomials are equivalent, i.e: p2(x) = 38x 2 + (349/6)x79/6 For green evaluation, the Newton shape may be rewritten in a so-referred to as nested form. This form is received by using systematic factorisation of the unique polynomial. keep in mind a popular polynomial in the Newton shape pn(x) = a0 +a1(xx0) +a2(xx0)(xx1)...+an(xx0)...(xxn1) this will be written as pn(x) = a0 + n i=1 ai " i1 j=0 (xxj) # allow us to now rewrite the Newton shape of the interpolating polynomial inside the nested form by means of the usage of the common terms (xxi) for factoring. We achieve pn(x) = a0 + (xx0)(a1 + (xx1)(a2 + (xx2)(a3 +...+ (xxn1)an)...)) that is called the nested form and its assessment is completed by way of nested multiplication. when comparing p(x) for a given numerical fee of x = t, we evidently begin with the innermost parenthesis: v0 = an v1 = v0(t xn1) +an1 v2 = v1(t xn2) +an2 . . . vn = vn1(t x0) +a0
  • 6. the amount vn is p(t). within the actual implementation, we handiest want one variable v. the subsequent pseudocode suggests how the assessment of p(x = t) is completed effectively once the coefficients ai of the Newton shape are regarded. The array (xi)zero:n incorporates the n+1 nodes xi .