Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6507
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail |
|---|---|
| From | Bob Hanlon <hanlonr357@gmail.com> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Error in FullSimplify |
| Date | Fri, 18 Nov 2011 11:27:31 +0000 (UTC) |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <ja5ff3$6e1$1@smc.vnet.net> (permalink) |
| References | <201111171104.GAA22782@smc.vnet.net> |
| Lines | 55 |
| NNTP-Posting-Date | 18 Nov 2011 10:31:44 GMT |
| NNTP-Posting-Host | 471cf922.news.twtelecom.net |
| X-Trace | DXC=5J3<UTj7ZR2]\7jU_c<nY?C_A=>8kQj6==_1NR_H?JP=JC=TVc1<HJ1EFiONJ7[Go6kn?7QT=3a`; |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.soft-sys.math.mathematica:6507 |
Show key headers only | View raw
This appears to have been fixed in version 8.
$Version
"8.0 for Mac OS X x86 (64-bit) (October 5, 2011)"
expr = (-E^((a + b I) x) + E^((a - b I) x) + E^((-a + b I) x) -
E^((-a - b I) x));
expr /. {a -> 3, b -> 4} // FullSimplify
-4 I Sin[4 x] Sinh[3 x]
expr /. {a -> 3., b -> 4.} // FullSimplify
2 (Cos[(4. + 3. I) x] - Cosh[(3. + 4. I) x])
% // Rationalize // Simplify
-4 I Sin[4 x] Sinh[3 x]
In both v7 and v8 on a Mac you can simplify this symbolically as follows.
expr // ExpToTrig // Simplify
-4 I Sin[b x] Sinh[a x]
Bob Hanlon
On Thu, Nov 17, 2011 at 6:04 AM, <"Philipp Wei=DFgraeber"@smc.vnet.net> wrote:
> Hello
>
> I have experienced some strange error in the FullSimplify-function in
> Mathematica 7.
>
> Input:
> (-E^((a+b I)x)+E^((a-b I)x)+E^((-a+b I)x)-E^((-a-b I)x))/.a->3 /.b->4 //
> FullSimplify
> (-E^((a+b I)x)+E^((a-b I)x)+E^((-a+b I)x)-E^((-a-b I)x))/.a->3. /.b->4.
> // FullSimplify
>
> Output:
> -4 I Sin[4 x] Sinh[3 x]
> -2 I Sin[4. x] Sinh[3. x]
>
> And the later result is wrong.
>
> What happens here, how can this be explained?
>
> CU
>
> Philipp
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Error in FullSimplify Bob Hanlon <hanlonr357@gmail.com> - 2011-11-18 11:27 +0000
csiph-web