MathGroup Archive 1996

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

Search the Archive

Solving sets of differential equations -- this should be easy...



I have what should be a very simple problem, but I can't convince
Mathematica to give me an answer in the form that I need.  I have sets
of equations like

	{x[t] == y'[t], y[t] == 5}

that I would like to solve.  If I try the obvious

	DSolve[{x[t] == y'[t], y[t] == 5},x[t],t]

I get 
	Out[14]=
		{{x[t] -> y'[t]}}

as the result.  I would like, of course, to see {{x[t] -> 0}}. How can I 
get Mathematica to give me this answer?

The equations are being generated automatically, and Mathematica is being 
called remotely.  The solution should be in the form of a single 
self-contained request with no side-effects.

Many thanks for your help,

Adam

-----
Dr. Adam Farquhar             
Knowledge Systems Lab         URL: www-ksl.stanford.edu/people/axf
Gates Bldg 2A MC9020	      Email: afarquhar at ksl.stanford.edu
Stanford University	      Tel:   415-723-9770
Stanford, CA 94305            Fax:   415-725-5850


--
-----
Dr. Adam Farquhar             
Knowledge Systems Lab         URL: www-ksl.stanford.edu/people/axf
Gates Bldg 2A MC9020	      Email: afarquhar at ksl.stanford.edu
Stanford University	      Tel:   415-723-9770
Stanford, CA 94305            Fax:   415-725-5850


  • Prev by Date: Solving sets of differential equations -- this should be easy...
  • Next by Date: Re: Q: How to force an Equal[]
  • Previous by thread: Solving sets of differential equations -- this should be easy...