12.07.2015 Views

problemi ai limiti per equazioni differenziali ordinarie - Sezione di ...

problemi ai limiti per equazioni differenziali ordinarie - Sezione di ...

problemi ai limiti per equazioni differenziali ordinarie - Sezione di ...

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.

Quin<strong>di</strong>, <strong>per</strong> trovare la soluzione approssimata {y i } N i=0 , si deve risolvere il sistema non lineare⎧(2y 1 − y 2 + h 2 f x 1 ,y 1 , y )2 − α− α = 0,2h⎪⎨⎪⎩(−y 1 + 2y 2 − y 3 + h 2 f x 2 ,y 2 , y )3 − y 1= 0,2h..........................................................................(−y N−2 + 2y N−1 − y N + h 2 f x N−1 ,y N−1 , y )N − y N−2= 0,2h(−y N−1 + 2y N + h 2 f x N ,y N , β − y )N−1− β = 0,2h(2.10)<strong>di</strong> N <strong>equazioni</strong> nelle N incognite y 1 ,y 2 ,...,y N .Prima <strong>di</strong> passare alla soluzione numerica del sistema non lineare (2.10) si deve verificare selo schema alle <strong>di</strong>fferenze finite costruito è convergente, cioè selim max |e i| = 0, (2.11)h→0 1≤i≤Ndove e i = |y(x i )−y i | è l’errore globale <strong>di</strong> troncamento. Come nel caso dei meto<strong>di</strong> <strong>per</strong> la soluzione<strong>di</strong> <strong>problemi</strong> <strong>ai</strong> valori iniziali, la convergenza è assicurata se lo schema numerico è consistente estabile.Per stu<strong>di</strong>are la consistenza e la stabilità dello schema alle <strong>di</strong>fferenze finite non lineare introduciamol’o<strong>per</strong>atore <strong>di</strong>fferenziale <strong>di</strong>screto (non lineare) (L h y d ) i che agisce sulla funzione <strong>di</strong>scretay d = {y i } N i=1 , associata alla <strong>di</strong>scretizzazione (2.1), secondo lo schema alle <strong>di</strong>fferenze (2.9):(L h y d ) i := − y i+1 − 2y i + y i−1h 2(+ fx i ,y i , y i+1 − y i−12h). (2.12)Allora lo schema numerico (2.9) <strong>di</strong>venta⎧⎪⎨⎪⎩y 0 = α, y N+1 = β,(L h y d ) i = 0, i = 1,2,... ,N.(2.13)Tramite la soluzione esatta y(x) si può definire la funzione <strong>di</strong>screta y e := {y(x i )} N i=1 ; allora,(L h y e ) i = − y(x i+1) − 2y(x i ) + y(x i−1 )h 2(+ f x i ,y(x i ), y(x )i+1) − y(x i−1 )2hrappresenta l’o<strong>per</strong>atore <strong>di</strong>screto che agisce sulla soluzione esatta.(2.14)5

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

Saved successfully!

Ooh no, something went wrong!