Re: FullSimplify
- To: mathgroup at smc.vnet.net
- Subject: [mg40677] Re: [mg40662] FullSimplify
- From: Dr Bob <majort at cox-internet.com>
- Date: Sun, 13 Apr 2003 02:17:44 -0400 (EDT)
- References: <200304120712.DAA21359@smc.vnet.net>
- Reply-to: majort at cox-internet.com
- Sender: owner-wri-mathgroup at wolfram.com
If I understand you, you think -(wH - wC) might be preferable to +(-wC + wH). However, they have the same LeafCount, which is supposedly used by FullSimplify to choose between equivalent forms, so both forms are equally simple. Beyond that, the depths of Simplify and FullSimplify are beyond me. I suspect that one Minus is considered better than two. w + # 2 Pi wC + # 2 Pi wH & /@ {1, -1} // FullSimplify LeafCount /@ % w - # 2 Pi wC + # 2 Pi wH & /@ {1, -1} // FullSimplify LeafCount /@ % {w - 2 Pi (wC - wH), w + 2 Pi (wC - wH)} LeafCount /@ % {w - 2 Pi (wC - wH), w + 2 Pi (wC - wH)} // Simplify LeafCount /@ % Bobby On Sat, 12 Apr 2003 03:12:21 -0400 (EDT), Blimbaum Jerry DLPC <BlimbaumJE at ncsc.navy.mil> wrote: > Something I just noticed about FullSimplify: > > > w +/-2 Pi wC +/-2 Pi wH//FullSimplify outputs > > > w + 2 Pi (wC + wH) and w - 2 Pi (wC + w H) respectively.... > > > however...if the signs of the coefficients of wC and wH are > opposite....i.e. > > > w -/+ 2 Pi wC +/-2 Pi wH//FullSimplify the output remains the > same....i.e. you dont get... > > > w - 2 Pi (wC - wH) and w + 2 Pi (wC-wH) ....as I would have > expected.....in writing this out for Mathgroup, I see that > > Mathematica would have to change the signs inside the parentheses for wH, > for example....or decide to output the first result as... > > > w + 2 Pi (wH-wC) for example.... > > > why this > > difference in the two? i.e. Mathematica duzz FullSimplify the first > form.....but not the second form......or have I answered my own question? > > > jerry blimbaum Panama City, Florida > > -- majort at cox-internet.com Bobby R. Treat
- References:
- FullSimplify
- From: Blimbaum Jerry DLPC <BlimbaumJE@ncsc.navy.mil>
- FullSimplify