Recent content by ahmedo047

  1. A

    Forward difference method for heat equation

    problem is solved: finally code #include<stdio.h> #include<math.h> #define pi 4*atan(1) #define true 1 #define false 0 double F(double X); void INPUT(int *, double *, double *, double *, int *, int *); void OUTPUT(double, double, int, double *, double); main() { double W[25]...
  2. A

    Forward difference method for heat equation

    I don't be able to convert the following code(HEAT EQUATION BACKWARD-DIFFERENCE ALGORITHM in the Burden-faires numerical analysis book).I need heat EQUATION FORWARD-DIFFERENCE ALGORITHM C like following code.I don't be able to convert FORWARD-DIFFERENCE the following code .Please help me. if...
  3. A

    Forward difference method for heat equation

    Isn't there anyone to help me. if I write VV = - [ALPHA * ALPHA * K / ( H * H )]; instead of VV = ALPHA * ALPHA * K / ( H * H );in the HEAT EQUATION BACKWARD-DIFFERENCE ALGORITHM then have I obtained HEAT EQUATION FORWARD-DIFFERENCE ALGORITHM?
  4. A

    C/C++ Heat equation finite difference in c++

    Source Book: Burden R.L., Faires J.D. Numerical analysis /* * CRANK-NICOLSON ALGORITHM 12.3 * * To approximate the solution of the parabolic partial-differential * equation subject to the boundary conditions * u(0,t) = u(l,t) = 0, 0 < t < T = max t * and the initial...
  5. A

    Forward difference method for heat equation

    I don't be able to convert the following code(HEAT EQUATION BACKWARD-DIFFERENCE ALGORITHM in the Burden-faires numerical analysis book).I need HEAT EQUATION FORWARD-DIFFERENCE ALGORITHM C like following code.I don't be able to convert FORWARD-DIFFERENCE the following code .Please help me. /*...
Back
Top