home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / sci / math / symbolic / 2313 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.6 KB

  1. Path: sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!news.claremont.edu!ucivax!news.service.uci.edu!beckman.com!dn66!a_rubin
  2. Newsgroups: sci.math.symbolic
  3. Subject: Re: ode solver, different results from different packages
  4. Message-ID: <a_rubin.715537194@dn66>
  5. From: a_rubin@dsg4.dse.beckman.com (Arthur Rubin)
  6. Date: 3 Sep 92 16:19:54 GMT
  7. References: <1992Sep3.102037.20539@news.Hawaii.Edu>
  8. Nntp-Posting-Host: dn66.dse.beckman.com
  9. Lines: 33
  10.  
  11. In <1992Sep3.102037.20539@news.Hawaii.Edu> qhuang@wiliki.eng.hawaii.edu (Qiming Huang) writes:
  12.  
  13. >Hi, I am trying to learn these different symbolic math packages
  14. >such as mathmatica, mapleV, and macsyma. I tested one example
  15. >listed on the macsyma manual for ordinary differential equations
  16. >which writes as
  17.  
  18. >    x*dy/dx +a*x*y^2+2*y+b*x=0
  19.  
  20. >the solution given by macsyma is
  21. >                          
  22. >                          (2 a sqrt(b) x)/sqrt(-a)
  23. >    y=((2 %c a b x - 2 %c sqrt(-a) sqrt(b)) %e
  24.  
  25. >                                          (2 a sqrt(b) x)/sqrt(-a)
  26. >+ sqrt(-a) a sqrt(b) x -a)/(2 %c sqrt(-a) a sqrt(b) x %e
  27. >   
  28. >   2
  29. >+ a x)
  30. >where %c is the integration constant.
  31.  
  32. >the solution given by mathematica is
  33. >In:=DSolve[x*y'[x]+a*x*y^2+2*y+b*x==0, y[x],x]
  34. >Out={{y[x]--> -(bx) -axy^2 +C[1] - 2y log[x]}}
  35.  
  36. In:=DSolve[x*y'[x]+a*x*y[x]^2+2*y[x]+b*x==0, y[x],x]
  37.  
  38. is correct but Mathematica 2.0.2 can't solve it.
  39. --
  40. Arthur L. Rubin: a_rubin@dsg4.dse.beckman.com (work) Beckman Instruments/Brea
  41. 216-5888@mcimail.com 70707.453@compuserve.com arthur@pnet01.cts.com (personal)
  42. My opinions are my own, and do not represent those of my employer.
  43. My interaction with our news system is unstable; if you want to be sure I see a post, mail it.
  44.