Escolar Documentos
Profissional Documentos
Cultura Documentos
Q1 a) Using natural spline, S”(0)=S”(8)=0. From the tridiagonal system, equations for S”(2)
and S”(4) are written as below, and solved to get their values.
xi x i 1 Si1 2xi 1 x i 1 Si xi 1 x i Si1
f xi 1 f xi f xi f xi 1
6 6
xi 1 xi xi xi 1
Equations For S" Gauss Elimination: S" at x=2 and
x=4
at x=2 and 4
x f(x)
4 0.6300
8 0.3968
Si ( x)
xi 1 x Si( xi ) x x i Si( xi 1 )
3 3
0 1.0000 0.0000 0 0
Q2)
t v Acceleration
1 0.65
2 1.72
3 3.48
4 6.39
8 53.6
9 89.02
10 147.41
3 f i 4 f i 1 f i 2 3 f i 4 f i 1 f i 2 f f
f i f i f i i 1 i 1
2h 2h 2h