The second argument to LambertW lets you specify the branch. In this
case, the -1 branch gives the other real root:

In [28]: N(-LambertW(-log(2)/8, -1)/log(2))
Out[28]: 5.44490755461021

Aaron Meurer

On Tue, Apr 19, 2016 at 1:21 PM, Bill Bell <[email protected]> wrote:
> For instance, there are two roots to the equation for which
> N(-LambertW(-log(2)/8)/log(2)) is a solution but when I enter this sympy
> yields just 0.137499628779701.
>
> What can I do to obtain the second value?
>
> TIA.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/f7ba9eca-010f-490b-ae88-41e109b82abe%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6KgkEjNxY6U2NuOP8-Ab_nFZHW9TnmVVtMOOHcncxCePA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to