Professional Documents
Culture Documents
Ver esta página en: Español Traducir Desactivar para: Inglés Opciones ▼
NOW
PLAYING
We use cookies to improve your experience on our site and to show you relevant advertising. By browsing this website, you agree to our use of cookies. Learn more Accept
Support us
I want to sell my website www.AtoZmath.com with complete code
Seleccionar idioma
Con la tecnología de Traductor
Home > Numerical methods calculators > Cubic spline interpolation calculator
Type your data, for seperator you can use space or tab
for sample click random button
4050 100
4613 500
5455 1000
6260 1500
6989 2000
7720 2500
8440 3000
OR
Rows : 11 Generate
X Y
4050 100
4613 500
5455 1000
6260 1500
6989 2000
7720 2500
8440 3000
9169 3500
9890 4000
10730 4500
11656 5000
y( 1.5 )
y'( 2 )
Find New Random
Mode = Decimal
Decimal Place = 2
Solution Help
Solution:
x 4050 4613 5455 6260 6989 7720 8440 9169 9890 10730 11656
1 of 5 11/11/2021, 09:08
Cubic spline interpolation calculator https://atozmath.com/CONM/CubicSpline.aspx?q1=4050%2c4613%2...
(x i - x ) 3 (x - x i - 1 ) 3 (x i - x ) (x - xi - 1 )
f(x) =
6h
Mi - 1 +
6h
Mi +
h (
yi - 1 -
h2
6 )
Mi - 1 +
h ( yi -
h2
6 )
M i → (1)
6
We have, M i - 1 + 4M i + M i + 1 =
h2
(yi - 1 - 2yi + yi + 1 ) → (2)
Here h = 563, n = 10
M 0 = 0, M 10 = 0
6
M 0 + 4M 1 + M 2 =
h2
(y0 - 2y1 + y2 )
6
⇒ 0 + 4M 1 + M 2 = ⋅ (100 - 2 ⋅ 500 + 1000)
316969
⇒ 4M 1 + M 2 = 0
y 100 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
Substitute i = 2 in equation (2)
6
M 1 + 4M 2 + M 3 =
h2
(y1 - 2y2 + y3 )
6
⇒ M 1 + 4M 2 + M 3 = ⋅ (500 - 2 ⋅ 1000 + 1500)
316969
⇒ M 1 + 4M 2 + M 3 = 0
6
M 2 + 4M 3 + M 4 =
h2
(y2 - 2y3 + y4 )
6
⇒ M 2 + 4M 3 + M 4 = ⋅ (1000 - 2 ⋅ 1500 + 2000)
316969
⇒ M 2 + 4M 3 + M 4 = 0
6
M 3 + 4M 4 + M 5 =
h2
(y3 - 2y4 + y5 )
6
⇒ M 3 + 4M 4 + M 5 = ⋅ (1500 - 2 ⋅ 2000 + 2500)
316969
⇒ M 3 + 4M 4 + M 5 = 0
6
M 4 + 4M 5 + M 6 =
h2
(y4 - 2y5 + y6 )
6
⇒ M 4 + 4M 5 + M 6 = ⋅ (2000 - 2 ⋅ 2500 + 3000)
316969
⇒ M 4 + 4M 5 + M 6 = 0
6
M 5 + 4M 6 + M 7 =
h2
(y5 - 2y6 + y7 )
6
⇒ M 5 + 4M 6 + M 7 = ⋅ (2500 - 2 ⋅ 3000 + 3500)
316969
⇒ M 5 + 4M 6 + M 7 = 0
6
M 6 + 4M 7 + M 8 =
h2
(y6 - 2y7 + y8 )
6
⇒ M 6 + 4M 7 + M 8 = ⋅ (3000 - 2 ⋅ 3500 + 4000)
316969
⇒ M 6 + 4M 7 + M 8 = 0
6
M + 4M + M ( 2 + )
2 of 5 11/11/2021, 09:08
Cubic spline interpolation calculator https://atozmath.com/CONM/CubicSpline.aspx?q1=4050%2c4613%2...
( )
6
⇒ M 7 + 4M 8 + M 9 = ⋅ (3500 - 2 ⋅ 4000 + 4500)
316969
⇒ M 7 + 4M 8 + M 9 = 0
6
M 8 + 4M 9 + M 10 =
h2
(y8 - 2y9 + y10 )
6
⇒ M 8 + 4M 9 + 0 = ⋅ (4000 - 2 ⋅ 4500 + 5000)
316969
⇒ M 8 + 4M 9 = 0
M 7 + 4M 8 + M 9 = y 7 - 2y 8 + y 9
h2
3 of 5 11/11/2021, 09:08
Cubic spline interpolation calculator https://atozmath.com/CONM/CubicSpline.aspx?q1=4050%2c4613%2...
(x5 - x )3 (x - x4 )3 (x5 - x ) (x - x 4 )
f 5(x) =
6h
M4 +
6h
M5 +
h (y4 -
h2
6
M4 +
) h ( y5 -
h2
6
M5
)
f 5(x) =
(7720 - x) 3
3378
⋅0+
(x - 6989) 3
3378
⋅0+
(7720 - x)
563 ( 2000 -
316969
6
⋅0 +
) (x - 6989)
563 (2500 -
316969
6
⋅0
)
f 5(x) = 0.89x - 3610.12, for 6989 ≤ x ≤ 7720
4 of 5 11/11/2021, 09:08
Cubic spline interpolation calculator https://atozmath.com/CONM/CubicSpline.aspx?q1=4050%2c4613%2...
5 of 5 11/11/2021, 09:08