Solve a Partial Differential Equation Numerically - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Tasks : Differential Equations : PDEs : Task/SolvePDENumerically

Solve a Partial Differential Equation Numerically

Description

Solve a partial differential equation (PDE) numerically.

Enter a partial differential equation.

ⅆⅆtux,t110ⅆ2ⅆx2ux,t=0

tux,t1102x2ux,t=0

(1)

Enter the initial boundary conditions.

ux,0=1,u0,t=0,D1u1,t=0

ux,0=1,u0,t=0,D1u1,t=0

(2)

Solve the equation.

s:=pdsolve,,numeric:

Plot the solution for select values of t.

p1splott=0, color=red:

p2splott=110, color=pink:

p3splott=12, color=yellow:

p4splott=1, color=green:

p5splott=2, color=blue:

plotsdisplayp1,p2,p3,p4,p5,title=Heat profile at t = 0, 0.1, 0.5, 1, 2

Commands Used

diff, pdsolve, plots[display]

See Also

PDEtools, plot


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam