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) La matrice del sistema <strong>di</strong>viene a <strong>di</strong>agonale dominante con una opportuna permutazion<strong>ed</strong>elle righe. Con la permutazione corretta, il metodo <strong>di</strong> Jacobi si scrive⎧⎪⎨⎪⎩x (k+1)1 = 3/5 + 2/5 x (k)2 − 1/5 x (k)3 )x (k+1)2 = 1/3 − 1/15x (k)1 − 2/3 x (k)3x (k+1)3 = −5/3 − 1/3 x (k)1 + 1/3 x (k)2c) La matrice <strong>di</strong> iterazione (jacobiana) del metodo é:⎛⎞0 2/5 −1/5B = J T = ⎝ −1/15 0 −2/3 ⎠−1/3 1/3 0e la costante <strong>di</strong> contrazione nella norma ‖·‖ ∞ vale L = ‖J T ‖ ∞ = max(3/5, 11/15, 2/3) =11/15.<strong>Esercizi</strong>o 2.b) Riscrivendo l’equazione come f(x) = x 2 − cos x = 0, il metodo <strong>di</strong> Newton assume laformax k+1 = x k − x2 k − cos x k2x k + sin x k.Si puó notare che la f(x) é pari e, per x > 0, é crescente e convessa. Infatti, si verificain modo elementare che per x > 0:f ′ (x) = 2x + sin x > 0,f ′′ (x) = 2 + cos x > 0.Per ottenere convergenza monotona basta quin<strong>di</strong> scegliere |x 0 | > |¯x|, ad esempio pereccesso |x 0 | > π/2 (in questo caso valori positivi <strong>di</strong> x 0 porteranno ad una successioneconvergente alla ra<strong>di</strong>ce positiva, viceversa per i valori negativi).151

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

Saved successfully!

Ooh no, something went wrong!