On Jan 31, 8:05 am, "John Cremona" <[EMAIL PROTECTED]> wrote:
> You could try substituting x+1 for x first, then do what you want, and
> substitute back at the end,
> I would expect the auto-simplification to happen at that last step
> too, but you would be able to (say) replace x by (x-1) in the textual
> output. I wonder if it is possible to have a variable whose name, as
> a string, as "(x-1)"?
>
> John
>
Well, hmm. See, one of my goals here is to show off Sage as a viable
alternative to Mathematica for doing computations like this. Somehow
I think using a variable whose name is "(x-1)" is going to undermine
this purpose. Though I must say I think it's a very clever idea!
Cheers,
Peter
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---