Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'PDE with two variable' topicStudent Support Forum > General > "PDE with two variable"

Next Comment >Help | Reply To Topic
Author Comment/Response
Martin Wijaya
12/12/12 10:27am

Dear All

I have a PDE as a the following:

u is a function of z(depth) and t(time) and C is just a constant

du/dt=(d^2u/dz^2)*C

I try to solve it by writing it like this

NDSolve[{D[u[y, t], t] == D[u[y, t], {y, 2}], u[0, 0] == 100,
u[2, 0] == 0, D[u[2, 0]] == 0,
D[u[0, 0] == 0]}, u, {{y, 0, 2}, {t, 0, 10}}]

however, this is the result that I got

NDSolve::dsvar: {y,0,2} cannot be used as a variable. >>

The attachment is a notebook that I used

Please help

Regards
Martin Wijaya



Attachment: NDSsolve practice.nb, URL: ,

Subject (listing for 'PDE with two variable')
Author Date Posted
PDE with two variable Martin Wijaya 12/12/12 10:27am
Re: PDE with two variable Bill Simpson 12/12/12 12:02pm
Re: Re: PDE with two variable Martin Wijaya 12/13/12 09:33am
Re: Re: Re: PDE with two variable Bill Simpson 12/13/12 11:02am
Re: Re: Re: Re: PDE with two variable Martin Wijaya 12/15/12 09:42am
Re: Re: Re: Re: Re: PDE with two variable Bill Simpson 12/16/12 1:46pm
Re: Re: Re: Re: Re: Re: PDE with two variable Martin Wijaya 12/17/12 11:28am
Re: PDE with two variable Martin Wijaya 12/17/12 00:18am
Re: Re: PDE with two variable Bill Simpson 12/17/12 10:59am
Next Comment >Help | Reply To Topic