Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

1

Math-371Secf;1 Qrizff3 Term-211

Question [7.5 points]. Determine the natural cubic spline S(r) that passes through the
points: (1,2) and (2,3). Show all steps. Given:

Given a function t derined on [a. bl and a set ol nodes


a: xo -< xl <... < x.: b, a cublc spli.te lnt€rpolant Slor f is a function
that satisties the lollo\ ring conditions:
(a) S(x) is a cubic polynornial, denoted .s,/(x), on rhe subinterval lxj, xi-11ror
each I : O. 1,..--lr- 1;
(b) Sr(x/): l<x,) and Sr(x/,r): f<x,11)tot eachl: o. 1_.,.,r- i;
(c) 9*'(x;, r):.S/(x,I r) lor eachI: O, 1.-...n 2: <lnplied lry (br.,
(d) s/-,(xr,,): sj(xt' r) toreach l: o. 1-.-..n 2'.
(e) s;1r(x/+!) - 9'(x,,') to( ea.ch j - o. 1.....n 2:
(t) One ol the following sets ot boundary €:onditions is satisfied:
(l) sr"(xo) : S"(x.) : o ( riatural (or tree) boundary);
(la) s'(xo) : f'(xo) and s'<x.): t'(x") (ctamped
- boundary).
)o(".h'"n s
!1 )(4>
ltrl = Qor bo h- t\t cr(t-t) t-do(t-t)', I'b \'
Gwn t (.{, ,{r*t) ='

{utt,\-- +(t) t
o

<"(r)-- 2c,, 16lo


JI

A3ttt,) -- S"'{{r )
Le; 5," ,n,\ -- s: o')
t

, .Sr, nnt'*!
a
tf )/ F*
Lr
(*) = lr,
o
So,,
@o
--) {"{'1= zc,= I

{fv'1 O -O,u'
S,,)=>ra-(
\ 'E;r") = ^t +
--)

You might also like