re: i want help in mathematica programing
- To: mathgroup at smc.vnet.net
- Subject: [mg42776] re: i want help in mathematica programing
- From: Farkhanda <farkhanda_yusaf at yahoo.com>
- Date: Fri, 25 Jul 2003 05:08:28 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
"solve the heat equation using explicit difference approximation with the help of programming in mathematica" let u= u(x,t) with the given boundary conditions u[0, t] =u[1, t] = 0 for 0 <= t <= 1 and the initial condition u(x,0)=x when 0<=x<=1/2 u(x,0)=1-x when 1/2 <=x<=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 <=(1/2) your sincerely Farkhanda