On Apr 23, 2009, at 9:32 PM, drupel wrote:
> Hi all:
> I am using Sage Version 3.4, Release Date: 2009-03-11. I asked Sage
> to simplify the following expression:
> -q^(5/2)*(q^2*x2^4 + q*x2^2) + q^(9/2)*x2^4 + q^(3/2)*(q^2 + 1)
> *x2^2 + sqrt(q)
> by calling the simplify command:
> simplify(-q^(5/2)*(q^2*x2^4 + q*x2^2) + q^(9/2)*x2^4 + q^(3/2)*
> (q^2 + 1)*x2^2 + sqrt(q))
> but the output was exactly the same as what I put in. In my code
> ahead of this I have
> R=PolynomialRing(ZZ,'q')
> var('q')
> Any suggestions would be much appreciated.
It's unclear what you want "simplify" to do. Maybe you could try
"expand" or "factor."
- Robert
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---