1) By using the equation for cubic splines hk-m-1+2(hk_1 +h₂ )m₂ +h₂m₁+1=Uk, k=1,..., N-1, construct the tridiagonal mar
Posted: Thu Jun 30, 2022 7:51 pm
1) By using the equation for cubic splines hk-m-1+2(hk_1 +h₂ )m₂ +h₂m₁+1=Uk, k=1,..., N-1, construct the tridiagonal marix HM=V. After solving HM-V by GEM for "m" values which are the second derivatives of cubic splines, obtain the cubic spline functions s(x) for each interval and calculate approximate f values at x=0.2,0.6,1.2 for the following data. Take mo-mN-0. Plot the spline functions s(x) for every interval. i x(i) f(xi) 0 0.1 0.99750 1 0.3 0.97763 2 0.5 0.93847 3 0.7 0.88120 4 0.9 0.80752 5 1.1 0.71962 6 1.3 0.62009