home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math.symbolic
- Path: sparky!uunet!munnari.oz.au!news.hawaii.edu!wiliki.eng.hawaii.edu!qhuang
- From: qhuang@wiliki.eng.hawaii.edu (Qiming Huang)
- Subject: ode solver, different results from different packages
- Message-ID: <1992Sep3.102037.20539@news.Hawaii.Edu>
- Sender: root@news.Hawaii.Edu (News Service)
- Nntp-Posting-Host: wiliki.eng.hawaii.edu
- Organization: University of Engineering, College of Engineering
- Date: Thu, 3 Sep 1992 10:20:37 GMT
- Lines: 29
-
- Hi, I am trying to learn these different symbolic math packages
- such as mathmatica, mapleV, and macsyma. I tested one example
- listed on the macsyma manual for ordinary differential equations
- which writes as
-
- x*dy/dx +a*x*y^2+2*y+b*x=0
-
- the solution given by macsyma is
-
- (2 a sqrt(b) x)/sqrt(-a)
- y=((2 %c a b x - 2 %c sqrt(-a) sqrt(b)) %e
-
- (2 a sqrt(b) x)/sqrt(-a)
- + sqrt(-a) a sqrt(b) x -a)/(2 %c sqrt(-a) a sqrt(b) x %e
-
- 2
- + a x)
- where %c is the integration constant.
-
- the solution given by mathematica is
- In:=DSolve[x*y'[x]+a*x*y^2+2*y+b*x==0, y[x],x]
- Out={{y[x]--> -(bx) -axy^2 +C[1] - 2y log[x]}}
-
- and the mapleV didn't give me any thing back.
-
- What went wrong?
-
- Please email me or post your opinion. Thanks very much!
-
-