Skip to content

wise-saint/Hermite-Interpolation-

Repository files navigation

Hermite_Interpolation

Scientific Computing

The Hermite interpolating polynomial interpolates function
as well as its certain order derivatives at given data points.

Conditions satisfied by Hermite polynomial :
H(Xi) = f(Xi) and
H'(Xi) = f'(Xi) where i = 0,1,2...n

Since there are 2n+2 conditions to be satisfied,
H(X) must be a polynomial of degree ≤ 2n+1.

The required polynomial is written as :
H(X) = ∑ni=0 Ai(X)f(Xi) + ∑ni=0 Bi(X)f'(Xi)

Using Lagrange fundamental polynomials li(X), We have
Ai(X) = [1 - 2(X - Xi)li'(Xi)]li2(X)
Bi(X) = (X - Xi)li2(X)

Error at a point "ʓ" is given by :
E(f ; ʓ) = (ʓ - X0)*(ʓ - X1)*...(ʓ - Xn)*f2n+2(ʓ)/(2n+2)!

Bound on error is given by :
|f(X) - H(X)| = max{(X - X0)*(X - X1)*...(X - Xn)}*M/(2n+2)!
Where M = max(f2n+2(ʓ)); X0 ≤ ʓ ≤ Xn

About

Hermite Interpolation Calculator with four features : interpolation polynomial, interpolation value at a point, truncation error and bound on error.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages