home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / sci / math / symbolic / 3276 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.5 KB  |  55 lines

  1. Newsgroups: sci.math.symbolic
  2. Path: sparky!uunet!caen!amadi
  3. From: amadi@engin.umich.edu (Amadi Nwankpa)
  4. Subject: Maple simplify Problem 
  5. Message-ID: <gwS=8F@engin.umich.edu>
  6. Date: Mon, 14 Dec 92 19:04:40 EST
  7. Organization: University of Michigan Engineering, Ann Arbor
  8. Nntp-Posting-Host: cyan.engin.umich.edu
  9. Lines: 44
  10.  
  11.      Maple seems to have a problem with this simplification:
  12.  
  13.  
  14.  
  15. > ad;
  16.  
  17.       {z(x) = 1/2 exp(x) + 1/2 exp(- x), y(x) = 1/2 exp(x) - 1/2 exp(- x)}
  18.  
  19. > simp2;
  20.  
  21.            {cosh(x) + sinh(x) = exp(x), cosh(x) - sinh(x) = exp(- x)}
  22.  
  23. >  simplify(ad,simp2,[exp(x),exp(-x)]);
  24. bytes used=3000428, alloc=1441528, time=10.33
  25.                               2                              2
  26.                    1 + sinh(x)  + 2 sinh(x) cosh(x) + cosh(x)
  27.            {z(x) = -------------------------------------------,
  28.                               2 sinh(x) + 2 cosh(x)
  29.  
  30.                                    2                              2
  31.                       - 1 + sinh(x)  + 2 sinh(x) cosh(x) + cosh(x)
  32.                y(x) = ---------------------------------------------}
  33.                                   2 sinh(x) + 2 cosh(x)
  34.  
  35. > simplify(");
  36.  
  37.                        {y(x) = - sinh(x), z(x) = cosh(x)}
  38.  
  39.  
  40.  
  41.  
  42.  
  43.       If you put x = 1  and do a evalf you will see that the last output doesn't
  44. equal the value of ad for x =1 .  What did I do wrong?
  45.  
  46.  
  47.  
  48.  
  49.                                        Amadi Nwankpa
  50.                                        CAEN
  51.                                        Umich of Michigan
  52.  
  53.  
  54.