Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Heat equation for Partial differential equation
Replies: 4   Last Post: Jan 6, 2014 3:45 PM

 Messages: [ Previous | Next ]
 Torsten Posts: 1,717 Registered: 11/8/10
Re: Heat equation for Partial differential equation
Posted: Jan 6, 2014 6:09 AM

"fatih " <mfatihk34@gmail.com> wrote in message <lae08a\$3l8\$1@newscl01ah.mathworks.com>...
> "Torsten" wrote in message <ladulj\$4nm\$1@newscl01ah.mathworks.com>...
> > "fatih " <mfatihk34@gmail.com> wrote in message <lads6r\$g34\$1@newscl01ah.mathworks.com>...
> > > I want to solve a heat equation like this
> > >
> > > du/dt=d^2u/dx^2,
> > > u(x,0)=sin(x), u(0,t)=0, u(1,t)=0
> > >
> > > how can ? solve this equation with implicit finite difference method in matlab?

> >
> > Most probably you mean
> > u(x,0)=sin(Pi*x).
> >
> > For the solution:
> > help pdepe
> >
> > Best wishes
> > Torsten.

>
> Thank you very much. Sorry, I have forgetten to write sin(pix)
>
> I look at pdepe.m code but it is expliciit numerical method. ? want to implicit n.m.

The ODE integrator underlying pdepe is Matlab's ODE15s which is implicit.

Best wishes
Torsten.

Date Subject Author
1/6/14 fatih
1/6/14 Torsten
1/6/14 fatih
1/6/14 Torsten
1/6/14 Nasser Abbasi