I believe that's called the principle root.  I am wondering why you
would need such a thing, though.

Aaron Meurer

On Mon, Nov 29, 2010 at 3:52 AM, smichr <[email protected]> wrote:
> If an equation is of the form f(x)**n = c and you only want the values
> of x corresponding to c**(1/n) rather than the n roots of c what would
> you expect to use for the solve hint? e.g. what should 'foo' be below?
>
>>>> solve((x-1)**3-3)
> [1 - (-3)**(1/3), 1 + I*(-3)**(1/3)*3**(1/2)/2 + (-3)**(1/3)/2, 1 -
> I*(-3)**(1/3)*3**(1/2)/2 + (-3)**(1/3)/2]
>
>>>> solve((x-1)**3-3, hint='foo')
> [1 + 3**(1/3)]
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> 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/sympy?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
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/sympy?hl=en.

Reply via email to