On Tuesday, February 19, 2019 at 8:56:50 AM UTC-8, Michael Beeson wrote:
>
> When I try to reproduce Eric's post,  I get an error message about an 
> unexpected keyword argument 
> (maybe my version of Sage is too old.)   But look at this:
>
> sage: solve(*2**(x+sqrt(*1*-x^*2*))-*7*,x,explicit_solutions=True)
>
> [1/4*I*sqrt(41) + 7/4 == -1/2*sqrt(7/2*I*sqrt(41) + 2), 1/4*I*sqrt(41) + 
> 7/4 == 1/2*sqrt(7/2*I*sqrt(41) + 2)]
>
>
> That doesn't look like an "explicit solution" to me.   
>
> How can I force solve to return only actual solutions, i.e.  x = 
>  something not containing x?
>
>
>
Here is what I see: 

sage: solve(2*(x+sqrt(1-x^2))-7, x)
[x == -sqrt(-x^2 + 1) + 7/2]
sage: solve(2*(x+sqrt(1-x^2))-7, x, explicit_solutions=True)   # it can't 
find any explicit solutions
[]
sage: solve(2*(x+sqrt(1-x^2))-7, x, to_poly_solve=True)
[x == -1/4*I*sqrt(41) + 7/4, x == 1/4*I*sqrt(41) + 7/4]
sage: solve(2*(x+sqrt(1-x^2))-7, x, algorithm='sympy')
[x == -1/4*I*sqrt(41) + 7/4, x == 1/4*I*sqrt(41) + 7/4] 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" 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/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to