20.07.2013 Views

Culegere de probleme de Analiz˘a numeric˘a

Culegere de probleme de Analiz˘a numeric˘a

Culegere de probleme de Analiz˘a numeric˘a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.6. Interpolare spline 101<br />

⎡ ⎤<br />

3(3−3π)<br />

b = ⎣ ⎦<br />

− 9<br />

2<br />

3(2−π)<br />

3<br />

40 (a1 −a0)−3f ′ (0) = 3<br />

1 ·<br />

6<br />

1<br />

−3π = 3(3−3π)<br />

2<br />

−3π − 3 1(−1)<br />

= 6−3π = 3(2−π)<br />

2<br />

Problema 6.6.4 Fie f : [a,b] → R, f ∈ C 1 [a,b], a < 0, b > 1. Să se<br />

scrie o funct¸ie spline naturală <strong>de</strong> interpolare care verifică s(0) = f(0), s ′ (0) =<br />

f ′ (0), s(1) = f(1), s ′ (1) = f ′ (1).<br />

Solut¸ie. Funct¸ia căutată este <strong>de</strong> forma<br />

s(x) = pm−1(x)+<br />

n ri <br />

i=1<br />

j=0<br />

cij(x−xi) 2m−1−j<br />

+<br />

s(x) = a0 +a1x+c10x 3 +c11x 2 +c20(x−1) 3 +c21(x−1) 2 +<br />

Avem 6 necunoscute s¸i 4 condit¸ii<br />

s ′ (x) = a1 +3c10x 2 + +2c11x+ +3c20(x−1) 2 + +2c21(x−1)+<br />

s(0) = a0 = f(0)<br />

s ′ (0) = a1 = f ′ (0)<br />

s(1) = f(0)+f ′ (0)+c10 +c11 = f(1)<br />

s ′ (1) = f ′ (0)+3c10 +2c11 = f ′ (1)<br />

s ′′ (1) = 0<br />

s ′′ (x) = 6c10x+ +2c11x 0 + +6c20(x−1)+ +2c21(x−1) 0 +<br />

3c10 +c11 +c21 = 0<br />

s ′′′ (x) = 6c10x 0 + +6c20(x−1) 0 +<br />

s ′′′ (1) = c10 +c20 = 0 c20 = −c10<br />

c10 +c11 = f(1)−f(0)−f ′ (0)<br />

3c10 +2c11 = f ′ (1)−f ′ (0)<br />

c10 = 2f(0)+f ′ (0)−2f(1)+f ′ (1)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!