home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / sci / math / symbolic / 2309 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.2 KB  |  41 lines

  1. Newsgroups: sci.math.symbolic
  2. Path: sparky!uunet!munnari.oz.au!news.hawaii.edu!wiliki.eng.hawaii.edu!qhuang
  3. From: qhuang@wiliki.eng.hawaii.edu (Qiming Huang)
  4. Subject: ode solver, different results from different packages
  5. Message-ID: <1992Sep3.102037.20539@news.Hawaii.Edu>
  6. Sender: root@news.Hawaii.Edu (News Service)
  7. Nntp-Posting-Host: wiliki.eng.hawaii.edu
  8. Organization: University of Engineering, College of Engineering
  9. Date: Thu, 3 Sep 1992 10:20:37 GMT
  10. Lines: 29
  11.  
  12. Hi, I am trying to learn these different symbolic math packages
  13. such as mathmatica, mapleV, and macsyma. I tested one example
  14. listed on the macsyma manual for ordinary differential equations
  15. which writes as
  16.  
  17.     x*dy/dx +a*x*y^2+2*y+b*x=0
  18.  
  19. the solution given by macsyma is
  20.                           
  21.                           (2 a sqrt(b) x)/sqrt(-a)
  22.     y=((2 %c a b x - 2 %c sqrt(-a) sqrt(b)) %e
  23.  
  24.                                           (2 a sqrt(b) x)/sqrt(-a)
  25. + sqrt(-a) a sqrt(b) x -a)/(2 %c sqrt(-a) a sqrt(b) x %e
  26.    
  27.    2
  28. + a x)
  29. where %c is the integration constant.
  30.  
  31. the solution given by mathematica is
  32. In:=DSolve[x*y'[x]+a*x*y^2+2*y+b*x==0, y[x],x]
  33. Out={{y[x]--> -(bx) -axy^2 +C[1] - 2y log[x]}}
  34.  
  35. and the mapleV didn't give me any thing back.
  36.  
  37. What went wrong?
  38.  
  39. Please email me or post your opinion. Thanks very much!
  40.  
  41.