12.07.2015 Views

Esercizi svolti di esame ed esonero - Dipartimento di Matematica

Esercizi svolti di esame ed esonero - Dipartimento di Matematica

Esercizi svolti di esame ed esonero - Dipartimento di Matematica

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Soluzioni<strong>Esercizi</strong>o 3.b) Si tratta <strong>di</strong> integrare tra x k <strong>ed</strong> x k+1 il polinomio interpolatore <strong>di</strong> f j ≡ f(x j , u j )costruito sui no<strong>di</strong> x k <strong>ed</strong> x k−1 . Ponendo convenzionalmente h = 1 <strong>ed</strong> x k = 0, ilpolinomio interpolatore ha la forma<strong>ed</strong> integrandolo in [0, 1] si ha∫ 10Π 1 (x) = f k−1 (−x) + f k (x + 1),∫ 1∫ 1Π 1 (x)dx = f k−1 (−x)dx + f k (x + 1)dx = − 1 2 f k−1 + 3 2 f k,0ottenendo quin<strong>di</strong> lo schema[ 3u k+1 = u k + h2 f(x k, u k ) − 1 ]2 f(x k−1, u k−1 ) .0<strong>Esercizi</strong>o 4.b) Ricor<strong>di</strong>amo che la derivata <strong>di</strong> un prodotto <strong>di</strong> k + 1 funzioni si ottiene sommando k + 1termini in cui ”si deriva una funzione per volta”, ad esempio:D(fgh) = f ′ gh + fg ′ h + fgh ′ .Nel caso dei polinomi (x − x 0 )(x − x 1 ) · · · (x − x k ), si ha D(x − x j ) = 1 e quin<strong>di</strong>D [ (x − x 0 )(x − x 1 ) · · · (x − x k ) ] == (x−x 1 ) · · · (x−x k )+(x−x 0 )(x−x 2 ) · · · (x−x k )+· · ·+(x−x 0 )(x−x 1 ) · · · (x−x k−1 )da cui si ha, tenendo conto che il passo tra i no<strong>di</strong> é stato in<strong>di</strong>cato con h:D [ (x − x 0 )(x − x 1 ) · · · (x − x k ) ] x=x 0= (x 0 − x 1 ) · · · (x 0 − x k ) = O(h k ).Derivando in x 0 il polinomio <strong>di</strong> Newton si ottiene perció[ ]D Π n (x) = f[x 0 , x 1 ] + f[x 0 , x 1 , x 2 ] O(h) + · · · + f[x 0 , . . . , x n ] O(h n−1 )x=x 0<strong>ed</strong> infine, passando al limite per h → 0 e tenendo conto che f[x 0 , x 1 ] é il rapportoincrementale:[ ]lim D Π n (x) = f ′ (x 0 )h→0 x=x 0(in cui si é anche tenuto conto del fatto che le <strong>di</strong>fferenze <strong>di</strong>vise successive coincidonoa meno <strong>di</strong> costanti con i rapporti incrementali <strong>di</strong> or<strong>di</strong>ne superiore al primo, e restanoquin<strong>di</strong> limitate per h → 0 se f é regolare).125

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

Saved successfully!

Ooh no, something went wrong!