MathGroup Archive 2006

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

Search the Archive

Re: NDSolve


Patrick,

The answer appears to be zero

sol = NDSolve[{Q[x, t] == -t*(x^2)*(D[S, x] + D[S, t]*(-D[Q[x, t],
x]/D[Q[x,
t], t])), Q[0, t] == 0}, Q[x, t], {t, 0.001, 1}, {x, 0.03, 0.06}]

To extract out the numerical values do the following

Q[x,t]/.sol/.{t->0.2,x->0.06}


{0.}

Cheers,

Brian


  • Prev by Date: Printing Lists to file without {}
  • Next by Date: Re: mathematica programming
  • Previous by thread: NDSolve
  • Next by thread: Re: NDSolve