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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Soluzioni<strong>Esercizi</strong>o 1.b) Le <strong>di</strong>fferenze <strong>di</strong>vise <strong>di</strong> f(x), calcolate con quattro cifre decimali, sono:f[x 0 , x 1 ] = 0.6931f[x 1 , x 2 ] = 0.4055f[x 2 , x 3 ] = 0.2877f[x 0 , x 1 , x 2 ] = −0.1438f[x 1 , x 2 , x 3 ] = −0.0589(∗)f[x 0 , x 1 , x 2 , x 3 ] = 0.0283(∗)dove si é in<strong>di</strong>cata con (∗) la per<strong>di</strong>ta <strong>di</strong> una cifra significativa.<strong>Esercizi</strong>o 2. Si tratta <strong>di</strong> verificare che la ricostruzione abbia le stesse me<strong>di</strong>e integrali <strong>di</strong>f∑su ogni intervallo [x j − h/2, x j + h/2]. Messa come suggerito la ricostruzione nella formak u kφ k (x), le con<strong>di</strong>zioni da sod<strong>di</strong>sfare sono:∫1xj +h/2h x j −h/2che si puó riscrivere piú comodamente come1hPonendo per como<strong>di</strong>tá <strong>di</strong> notazione∑u k φ k (x)dx = f j ,k∑∫ xj +h/2u k φ k (x)dx = f j .ka jk = 1 hx j −h/2∫ xj +h/2x j −h/2φ k (x)dx,si ottiene quin<strong>di</strong> il sistema lineare (nelle incognite u k )∑a jk u k = f j .D’altra parte, scrivendo piú esplicitamente le funzioni φ k nella formaφ k (x) =k{ 1h (x − x k−1) se x ∈ [x k−1 , x k ]− 1 h (x − x k+1) se x ∈ [x k , x k+1 ]0 altrimenti61

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

Saved successfully!

Ooh no, something went wrong!