Method of line
- To: mathgroup at smc.vnet.net
- Subject: [mg36179] Method of line
- From: "amar ali" <amar_109 at hotmail.com>
- Date: Mon, 26 Aug 2002 04:15:57 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Dear Mathgroup I have convert pde to ode like this du_i/dt = 1-4 u_i + .02 (u_i-1 ? 2 u_i + u i+1)/(delta (x))^3 + (u_i)^3 v_i dv_i /dt = 3 u_i + .02 (v_i-1 ? 2 v_i + u i+1)/(delta (x))^3 - (u_I)^3 v_i delta(x)=(i)/(N+1) x_i= (i)/(N+1) Boundary condition u_0 (t) = 1 = u_N+1(t) v_0(t) = 3 = v_N+1(t), Initial conditio u_i(0) = 1+sin (2 pi x_i ) v_i = 3 For i = 1,?., N Time Interval =[t_o, t_end] = [0,10] Could i get code in Mathematica (by using Euler of 4 Runge - Kutta..)to solve this ordinary differential equation. I am very happy if you give me help With best regards Khaled _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx