Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'NDSolve' topicStudent Support Forum > General > Archives > "NDSolve"

Next Comment >Help | Reply To Topic
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: ,

Subject (listing for 'NDSolve')
Author Date Posted
NDSolve sheung yan 06/17/99 6:06pm
Re: NDSolve P.J. Hinton 06/20/99 2:58pm
Re: NDSolve Paul Hoke 06/29/99 09:54am
Next Comment >Help | Reply To Topic