06.03.2013 Views

Capitolul 1 Ecuatii diferentiale de ordinul ˆıntâi rezolvabile prin ...

Capitolul 1 Ecuatii diferentiale de ordinul ˆıntâi rezolvabile prin ...

Capitolul 1 Ecuatii diferentiale de ordinul ˆıntâi rezolvabile prin ...

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.

216 CAPITOLUL 6<br />

Aceastǎ solut¸ie formalǎ se obt¸ine în Maple cu ajutorul procedurii DirichletInt:<br />

> restart;<br />

> DirichletInt:=proc(f,R)<br />

local a0,a,b;<br />

> a0:=(1/(2*Pi))*Int(f,phi=-Pi..Pi);<br />

> a:=n->1/Pi*Int(f*cos(n*phi),phi=-Pi..Pi);<br />

> b:=n->1/Pi*Int(f*sin(n*phi),phi=-Pi..Pi);<br />

> a0+add(r^n/R^n*(a(n)*cos(n*phi)+b(n)*sin(n*phi)),n=1..Or<strong>de</strong>r);<br />

> RETURN(map(simplify,value(%)));<br />

> end:<br />

Apelarea acestei proceduri se realizeazǎ cu instruct¸iunea DirichletInt(f, R)<br />

în care f este funct¸ia h din problema (6.64), dupǎ cum se poate observa din<br />

urmǎtoarele exemple:<br />

Exemplul 1:<br />

⎧<br />

⎨<br />

⎩<br />

∂2u + ∂2u > f:=(x1+x2)^2: R:=R:<br />

∂x2 1 ∂x2 = 0, x<br />

2<br />

2 1 + x22 < R2<br />

u(x1, x2) = (x1 + x2) 2 , x2 1 + x22 = R2<br />

> f:=subs(x1=r*cos(phi),x2=r*sin(phi),r=R,f);<br />

> sol1:=DirichletInt(f,R);<br />

Exemplul 2:<br />

⎧<br />

⎨<br />

⎩<br />

f := (R cos (φ) + R sin (φ)) 2<br />

sol1 := R 2 + r 2 sin (2 φ)<br />

∂2u + ∂2u ∂x2 1 ∂x2 = 0, x<br />

2<br />

2 1 + x22 u(x1, x2) = x1 · x2, x2 1 + x22 < 1<br />

= 1

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

Saved successfully!

Ooh no, something went wrong!