| Author |
Comment/Response |
Martin Wijaya
|
12/15/12 09:42am
In Response To 'Re: Re: Re: PDE with two variable' --------- Dear Mr. Bill
I have tried your suggestion and it is worked. However another error occured.
I write it down like this:
NDSolve[{Derivative[0, 1][u][z, t] == 0.1*Derivative[2, 0][u][z, t],
u[z, 0] == 100, Derivative[1, 0][u][2, t] == 0},
u[z, t], {z, 0, 2}, {t, 0, 100}]
And I got this message
NDSolve::bcart: Warning: An insufficient number of boundary conditions have been specified for the direction of independent variable z. Artificial boundary effects may be present in the solution.
and the output is:
{{u[z,t]->InterpolatingFunction[{{0.,2.},{0.,100.}},<>][z,t]}}
I tried to move on with this error to plot the result and I got this error:
NDSolve::dsvar: 0.00014299999999999998` cannot be used as a variable. >>
NDSolve::dsvar: 0.00014299999999999998` cannot be used as a variable. >>
NDSolve::dsvar: 0.14300014285714285` cannot be used as a variable. >>
General::stop: Further output of NDSolve::dsvar will be suppressed during this calculation. >>
How should I solve this problem?
Regards
Martin WIjaya
Attachment: NDSsolve practice.nb, URL: , |
|