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.

Calculul simbolic ¸si numeric pentru ecuat¸ii parabolice 251<br />

Exemplul 2:<br />

⎧<br />

⎪⎨<br />

⎪⎩<br />

∂u<br />

(x, t) = 4<br />

∂t<br />

Figura 31<br />

∂ 2 u<br />

∂x 2<br />

u(0, t) = u(π, t) = 0<br />

u(x, 0) = 4 cosxsin x<br />

<br />

(x, t) + e −4t · sin x<br />

Heat equation<br />

> PDE2 :=<br />

diff(u(x,t),t)=4*diff(u(x,t),x,x)+(exp(-4*t))*sin(x);<br />

PDE2 := ∂<br />

∂t<br />

u (x, t) = 4 ∂2<br />

∂x 2u (x, t) + e −4 t sin (x)<br />

> IBC2 := {u(0,t)=0,u(Pi,t)=0,u(x,0)=4*cos(x)*sin(x)};<br />

IBC2 := {u (0, t) = 0, u (π, t) = 0, u (x, 0) = 4 cos (x) sin (x)}<br />

> pds2 := pdsolve(PDE2,IBC2,numeric);<br />

pds1 := module () local INFO; export plot, plot3d, animate,<br />

value, settings; option ‘Copyright (c) 2001 by Waterloo<br />

Maple Inc. All rights reserved.‘; end module<br />

> p6 := pds2:-plot(t=0):<br />

p7 := pds2:-plot(t=1/10):

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

Saved successfully!

Ooh no, something went wrong!