solve and irrational numbers



Could you please show us the full problem?  What exactly did you call solve
on?

In general, solve has no problem with irrational numbers:

(%i3) display2d:false;
(%o3) false
(%i4) x*(1+2/sqrt(3))-x^2/%pi+sqrt(sqrt(2)+sqrt(3))=5^(1/7);
(%o4) -x^2/%pi+(2/sqrt(3)+1)*x+sqrt(sqrt(3)+sqrt(2)) = 5^(1/7)
(%i5) solve(%,x);
(%o5) [x =
-(sqrt(%pi)*sqrt((4*sqrt(3)+7)*%pi-12*5^(1/7)+12*sqrt(sqrt(3)+sqrt(2)))+(-sqrt(3)-2)*%pi)/(2*sqrt(3)),
       x =
(sqrt(%pi)*sqrt((4*sqrt(3)+7)*%pi-12*5^(1/7)+12*sqrt(sqrt(3)+sqrt(2)))+(sqrt(3)+2)*%pi)/(2*sqrt(3))]

             -s

On Tue, Jul 20, 2010 at 15:35, Adam Majewski <adammaj1 at o2.pl> wrote:

> Hi,
>
> when I use solve with equation containing such number (irrational) :
> a1:1 + 2 / sqrt(3);
>
> solva fails to find solution
>
> When I change it to float :
> a1:float(1 + 2 / sqrt(3));
>
> It works.
>
> Is it a special case or general rule ?
>
> Adam
>
>
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>