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

  1. Newsgroups: sci.math.symbolic
  2. Path: sparky!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!news
  3. From: Matthias Imhof <gondwana@basalt.mit.edu> 
  4. Subject: mathematica solve and rules
  5. Message-ID: <1992Sep3.004655.21678@athena.mit.edu>
  6. Sender: news@athena.mit.edu (News system)
  7. Nntp-Posting-Host: basalt.mit.edu
  8. Organization: Massachvsetts Institvte of Technology
  9. Date: Thu, 3 Sep 1992 00:46:55 GMT
  10. Lines: 40
  11.  
  12. when i use solve in mma, i get 
  13.  
  14.         u4      y4         y4
  15. {{a -> ----- - -----, b -> --, 
  16.        120 h   120 h       24
  17.  
  18.         u2    h u4   y2    h y4       y2
  19.    c -> --- - ---- - --- - ----, d -> --, 
  20.         6 h    36    6 h    18        2
  21.  
  22.                        3                   3
  23.         u0   h u2   7 h  u4   y0   h y2   h  y4
  24.    e -> -- - ---- + ------- - -- - ---- + -----, f -> y0}
  25.         h     6       360     h     3      45
  26.  
  27.    }
  28.  
  29. but what i actally want is something like
  30.  
  31.         u4      y4         y4
  32. a =    ----- - -----, b =  --, 
  33.        120 h   120 h       24
  34.  
  35.         u2    h u4   y2    h y4       y2
  36.    c =  --- - ---- - --- - ----, d =  --, 
  37.         6 h    36    6 h    18        2
  38.  
  39.                        3                   3
  40.         u0   h u2   7 h  u4   y0   h y2   h  y4
  41.    e =  -- - ---- + ------- - -- - ---- + -----, f =  y0}
  42.         h     6       360     h     3      45
  43.  
  44.  
  45. which defines the solution to be a, b, c, d, e and f and not just the
  46. transform rules which could be applied
  47.  
  48. is there a way to do that? can someone explain the concept of rules and  
  49. definitions?
  50.  
  51. matthias
  52.