[sage-support] Re: Solve fails for a cubic

2010-03-02 Thread Sharpie
On Mar 1, 3:02 am, Alex Ghitza aghi...@gmail.com wrote: On Sun, 28 Feb 2010 23:02:08 -0800 (PST), Sharpie ch...@sharpsteen.net wrote: However, tonight I have been trying to solve an open channel flow problem which requires me to find the roots of:   y^3 - 1.39027132807289 * y^2 +

Re: [sage-support] Re: Solve fails for a cubic

2010-03-02 Thread Alex Ghitza
On Tue, 2 Mar 2010 05:27:45 -0800 (PST), Sharpie ch...@sharpsteen.net wrote: Thanks for the reply Alex. I think I understand that by choosing a variable of the appropriate type, in this case one that is restricted to the real numbers, the roots can be determined in a straight-forward manner.

[sage-support] Re: Solve fails for a cubic

2010-03-02 Thread Sharpie
On Mar 2, 2:34 pm, Alex Ghitza aghi...@gmail.com wrote: The way I see it, it is not actually a question about the variable representing a real number; it is more a question of using polynomials and their specialised built-in roots() method rather than symbolic functions and the general-purpose

[sage-support] Re: Solve fails for a cubic

2010-03-02 Thread Sharpie
On Mar 2, 8:10 pm, Sharpie ch...@sharpsteen.net wrote: So I guess at this point my question is: is there another way to convert from a symbolic polynomial equation to a Polynomial Ring?  I The methods I used feel very hacky and I don't trust them. Ok, so I think I found something in the manual