MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

re:mathematica help

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42875] re:mathematica help
  • From: "ikhlaq chohan" <ikhlaqchohan at hotmail.com>
  • Date: Thu, 31 Jul 2003 01:47:59 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

 i need the help in programming of mathematica
the ascii text is given here:
"solve the heat equationusing explicit difference approximation with the help of programming in mathematica"
is a function of space cordinate "x" and time cordinate "t", ie
 u= u(x,t)

with the given boundary conditions
u(0, t) =u(1, t)= 0 for "t" lies in the closed interval from 0 to 1
and the initial condition u(x,0)=x, when"x"lies in the closed interval from 0 to 0.5
u(x,0)=1-x when "x"lies in the closed interval from 0.5 to 1
The explicit difference scheme is given as

[u(x,t+delta t)-u(x,t)]/(delta t) =[u(x+delta x,t)-2u(x,t)+u(x-delta x,t)]/(delta x )^2
with a condition 
 (delta t) / (delta x )^2 should be less than and equal to 0.5
waiting for your reply
Ikhlaq chohan


  • Prev by Date: dynamic time warping algorithm
  • Next by Date: Re: Mod bug
  • Previous by thread: dynamic time warping algorithm