| Author |
Comment/Response |
sheung yan
|
06/17/99 6:06pm
Hi,
When you evaluate a differential equation at a certain point with NDSolve. Mathematica puts the result in {}. For example
input1:
NDSolve [x''[t]+x'[t]+x[t]==t,x[0]==0,x'[0]==0,x,{t,0,5}]
input2:
x[5]/. %
output2:
{4}
I think the output is not treated as a number(can't be used for listplot or if command), why is that?
and what can I do to make it a number so I could manupulate it with other commands?
URL: , |
|