[sage-support] Re: Sage showing its work

2010-06-26 Thread S. Robert James
mathematician. I'd like to see the steps Sage uses to convert the sum I give it (or what not) to the form it chooses. On Jun 25, 2:44 pm, "S. Robert James" wrote: > Hi. Checking out sage, and it's amazing.  I'm a bit overwhelmed by its > size, though...  I inten

[sage-support] Minus sign not being typeset?

2010-06-25 Thread S. Robert James
Hi. When using Sage notebook in typesetting mode, a leading minus sign doesn't seem to appear. sage: expand(h_m) -m^2/(2*n - 1) + m + m/(2*n - 1) # This is correct. Now, let's turn on typesetting: sage: expand(h_m) # Doesn't show the leading minus sign. Here is what the text button shows: \newc

[sage-support] Different forms of rational expressions

2010-06-25 Thread S. Robert James
If I have a rational expression in x, say (2*x^3 - 3x + 4)/(x - 9), what are the different forms Sage can display it in? I'd like to be able to: * Simplify it as much as possible (eg take out common factors, stipulating that there's no division by zero) * Factor it as much as possible But also,

[sage-support] Sage showing its work

2010-06-25 Thread S. Robert James
Hi. Checking out sage, and it's amazing. I'm a bit overwhelmed by its size, though... I intend to use it to handle some of the messy algebraic manipulations while I work on combinatorics. Can anyone help with these questions: 1) When I enter a sum in sage: > h = sum(h_m, m, 1, 2*n)/2*n # h_