home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math.symbolic
- Path: sparky!uunet!caen!amadi
- From: amadi@engin.umich.edu (Amadi Nwankpa)
- Subject: Maple simplify Problem
- Message-ID: <gwS=8F@engin.umich.edu>
- Date: Mon, 14 Dec 92 19:04:40 EST
- Organization: University of Michigan Engineering, Ann Arbor
- Nntp-Posting-Host: cyan.engin.umich.edu
- Lines: 44
-
- Maple seems to have a problem with this simplification:
-
-
-
- > ad;
-
- {z(x) = 1/2 exp(x) + 1/2 exp(- x), y(x) = 1/2 exp(x) - 1/2 exp(- x)}
-
- > simp2;
-
- {cosh(x) + sinh(x) = exp(x), cosh(x) - sinh(x) = exp(- x)}
-
- > simplify(ad,simp2,[exp(x),exp(-x)]);
- bytes used=3000428, alloc=1441528, time=10.33
- 2 2
- 1 + sinh(x) + 2 sinh(x) cosh(x) + cosh(x)
- {z(x) = -------------------------------------------,
- 2 sinh(x) + 2 cosh(x)
-
- 2 2
- - 1 + sinh(x) + 2 sinh(x) cosh(x) + cosh(x)
- y(x) = ---------------------------------------------}
- 2 sinh(x) + 2 cosh(x)
-
- > simplify(");
-
- {y(x) = - sinh(x), z(x) = cosh(x)}
-
- >
-
-
-
-
- If you put x = 1 and do a evalf you will see that the last output doesn't
- equal the value of ad for x =1 . What did I do wrong?
-
-
-
-
- Amadi Nwankpa
- CAEN
- Umich of Michigan
-
-
-