Re: Mathematica favor requested
From: David W. Cantrell (DWCantrell_at_sigmaxi.org)
Date: 02/09/05
- Next message: Vladimir Bondarenko: "1 QA engineer vs 7 users: opinions about the AXIOM computer algebra system"
- Previous message: zuhair: "A point and a straight line"
- In reply to: jim caprioli: "Re: Mathematica favor requested"
- Next in thread: Karl M. Bunday: "Re: Mathematica favor requested"
- Reply: Karl M. Bunday: "Re: Mathematica favor requested"
- Messages sorted by: [ date ] [ thread ]
Date: 09 Feb 2005 12:32:58 GMT
"jim caprioli" <jim.cp@zonnet.nl> wrote:
> On Wed, 09 Feb 2005 01:27:31 -0500, Stephen J. Herschkorn
> <sjherschko@netscape.net> wrote:
>
> >
> >
> > Karl M. Bunday wrote:
> >
> >> Stephen J. Herschkorn wrote:
> >>
> >>> Could someone with acceess to Mathematica(R) please let me know if
> >>> the following simplifies to anything? Thanks.
> >>>
> >>> Simplify[10(w+a(w+(1-a)y^2)+b(v+(1-b)x^2)+a^2 (v+(1-a^2)x^2))
> >>> +20(a y(10-y)+b x(10-y)+a^2 x(10-y)-a b x y+a^2 (1-a)x y-a^2 b x^2)
> >>> +18(a w+a^2 y(10-y)+a b x(10-y)+a^3 x(10-y)
> >>> +b c+a b y(10-x)+b x(d-b x)+a^2 b x(10-x)
> >>> +a^2 x(10-y)+a^2 (c+(1-a)x y)-a^2 b x^2-a^3 x(10-a x))
> >>> +16(a^2 c+a^3 y(10-x)+a^2 x(d-b x)+a^4 x(10-x))]
> >>
> >>
> >> I got
> >>
> >> -2 (-5 w - 14 a w - 80 a4 x - 9 a a3 x^2 + 8 a4 x^2 + 5 a2^2 x2 +
> >> b^2 (9 x^2 + 5 x2) - 100 a y - 80 a3 y + 17 a3
> >> x y + 10 a y^2 - b ((9 c +
> >> 5 v + 100 x + 90 a x + 9 d x + 5 x2 + 90 a y - 10
> >> x y - 28 a x y) -
> >> a2 (17 c + 5 v + 190 x + 90 b x + 8 d x - 17 b x^2 + 5
> >> x2 - 19 b x2 + 90
> >> y - 19 a x y - 9 y^2) - 5 a y2 + 5 a^2 y2)
> >>
> >> but I'm not confident I've done the correct hand-editing to make this
> >> copy-and-pasted output readable.
> >>
> >> With FullSimplify, and NO hand-editing, I get
> >>
> >> \!\(\(-2\)\ \((\(-5\)\ w -
> >> 14\ a\ w - 80\ a4\ x - 9\ a\ a3\ x\^2 + 8\ a4\ x\^2 + 5\ a2\^2\
> >> x2 +
> >> b\^2\ \((9\ x\^2 + 5\ x2)\) - 100\ a\ y - 80\ a3\ y + 17\ a3\
> >> x\ y + 10\ a\ y\^2 - a2\ \((17\ c + 5\ v - 17\ b\
> >> x\^2 + \((5 - 19\ b)\)\ x2 - 9\ \((\(-10\) +
> >> y)\)\ y + x\ \((190 + 90\ b + 8\ d - 19\ a\
> >> y)\))\) - b\ \((9\ c + 5\ v + 5\ x2 + 90\ a\ y + x\ \((100 +
> >> 90\ a + 9\
> >> d - 2\ \((5 + 14\ a)\)\ y)\))\) + 5\ \((\(-1\) + a)\)\ a\
> >> y2)\)\)
> >>
> >>
> >> Hope this helps!
> >
> > Thank you bery much for your response, but all variables should be
> > single characters (e.g., there should be no variable a2). I know that
> > when I post something like a^2 and read it back in my Netscape
> > newsreader, I see the exponent 2 as a superscript. When I copy and
> > paste this, it pastes as "a2." Is there any way to avoid this?
> >
>
> This looks different to me...
>
> \!\(\(-2\)\ \((\(-5\)\ w +
> 4\ a\^4\ \((\(-20\) + x)\)\
> x + 14\ b\^2\ x\^2 - b\ \((9\ c + 5\ v + x\ \((9\
> d + 5\ \((20 + x - 2\ y)\))\))\) + 4\ a\^3\ \((\(-20\) +
> 9\ x)\)\ y - a\^2\ \((17\ c +
> 5\ v + 190\ x + 90\ b\
> x + 8\ d\ x + 5\ x\^2 - 36\ b\ x\^2 + 90\ y -
> 14\ y\^2)\) -
> a\ \((14\ w - 5\ \((\(-20\) + y)\)\ y + b\ \((90\ x + 90\ y -
> 28\ x\ y)\))\))\)\)
More legibly, at least for me, is
-2*(-5*w + 4*a^4*(-20 + x)*x + 14*b^2*x^2 - b*(9*c + 5*v + x*(9*d +
5*(20 + x - 2*y))) + 4*a^3*(-20 + 9*x)*y - a^2*(17*c + 5*v + 190*x +
90*b*x + 8*d*x + 5*x^2 - 36*b*x^2 + 90*y - 14*y^2) - a*(14*w -
5*(-20 + y)*y + b*(90*x + 90*y - 28*x*y)))
It's easy to get the result in that form: just convert the output cell to
Input Form. Then copy and paste.
David
- Next message: Vladimir Bondarenko: "1 QA engineer vs 7 users: opinions about the AXIOM computer algebra system"
- Previous message: zuhair: "A point and a straight line"
- In reply to: jim caprioli: "Re: Mathematica favor requested"
- Next in thread: Karl M. Bunday: "Re: Mathematica favor requested"
- Reply: Karl M. Bunday: "Re: Mathematica favor requested"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|