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 1.b) La ra<strong>di</strong>ce quadrata <strong>di</strong> a é la soluzione positiva dell’equazionef(x) = x 2 − a = 0per la quale il metodo <strong>di</strong> Newton ha la formax k+1 = x k − x2 k − a2x k= 1 2(x k + a x k).Poiché nel semiasse positivo la f é convessa e crescente, per avere convergenza bastaprendere x 0 > √ a, ad esempio x 0 = max(1, a).<strong>Esercizi</strong>o 3. In<strong>di</strong>cando con h la semiampiezza dell’intervallo [a, b], la base <strong>di</strong> Lagrangerelativa ai tre punti in considerazione éL 0 (β) =L 1 (β) =L 2 (β) =(β − b)(β − c)(a − b)(a − c) = β2 − (2a + 3h)β + (a + 2h)(a + h)2h 2(β − a)(β − b)(c − a)(c − b) = − (2a + 2h)β + a(a + 2h)−β2 h 2(β − a)(β − c)(b − a)(b − c) = β2 − (2a + h)β + a(a + h)2h 2 .La derivata del polinomio <strong>di</strong> Lagrange rispetto a β é data daϕ 0 L ′ 0(β) + ϕ 1 L ′ 1(β) + ϕ 2 L ′ 2(β) == ϕ 02h 2 (2β − 2a − 3h) − ϕ 1h 2 (2β − 2a − 2h) + ϕ 2(2β − 2a − h) = · · · =2h2 = β − ah 2 (ϕ 0 − 2ϕ 1 + ϕ 2 ) − 1 h 2 (3h 2 ϕ 0 − 2hϕ 1 + h 2 ϕ 2).La con<strong>di</strong>zione <strong>di</strong> annullamento della derivata fornisce quin<strong>di</strong><strong>Esercizi</strong>o 4.b) Si puó porre ad esempioβ = a + hf ε (x) = (x 1 − 1) 2 + 3(x 2 + 2) 2 + 1 ε32 ϕ 0 − 2ϕ 1 + 1 2 ϕ 2ϕ 0 − 2ϕ 1 + ϕ 2.[(|x 1 | − 1) +2 + (|x 2 | − 1) +2]<strong>ed</strong> in questo caso la funzione penalizzata é somma <strong>di</strong> termini convessi e risulta quin<strong>di</strong>convessa.b) Un possibile metodo primale per problemi in questa forma é il metodo <strong>di</strong> rilassamentocon proiezione.34

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

Saved successfully!

Ooh no, something went wrong!