sage: solve(x==sqrt(x+1),x,to_poly_solve='force')
[x == 1/2*sqrt(5) + 1/2]

On 10 Kwi, 09:01, ancienthart <joalheag...@gmail.com> wrote:
> Here's a one liner to filter the solutions.
>
> filter((lambda x: n(eq.subs(x).lhs()) == n(eq.subs(x).rhs())),solns)

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to