MathGroup Archive 1995

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

Search the Archive

Re: Extracting DSolve[]'s solution



>How do you extract the solution for DSolve[] ?
> ...
>mcwilljg at euler.sfasu.edu

Hello:

As Martin McClain said, 

       DSolve[   ];
       y[t_]:=Evaluate[ y[t] /. Flatten[%] ]

is a good solution. Also is equivalent

       DSolve[   ]
       y[t_]=y[t] /. Flatten[%]

but not the similar expression

       DSolve[   ]
       y[t_]:=y[t] /. Flatten[%]

as you can see easily.

			  Jesus ROJO
--
---------------------------------------
|  Jesus ROJO                         |
|  Dpto. de Matematica Aplicada       |
|  E.T.S. de Ingenieros Industriales  |
|  Paseo del Cauce s/n                |
|  47011 VALLADOLID, Spain            |
|  Phone : 34 - 83 - 42 33 90         |
|  Fax   : 34 - 83 - 42 34 06         |
|  e-mail: jesroj at wmatem.eis.uva.es   |
---------------------------------------


  • Prev by Date: NDSolve
  • Next by Date: Problem with Contexts
  • Previous by thread: NDSolve
  • Next by thread: Problem with Contexts