Solving sets of differential equations -- this should be easy...
- Subject: [mg3341] Solving sets of differential equations -- this should be easy...
- From: axf at HPP.Stanford.EDU (Adam Farquhar)
- Date: 29 Feb 1996 15:57:34 -0600
- Approved: usenet@wri.com
- Distribution: local
- Newsgroups: wri.mathgroup
- Organization: Knowledge Systems Lab, Stanford University
- Sender: daemon at wri.com
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