why doesn't float(%) work?



Thank you.? The other CAS I use wants caps, that's why I was blind to it.


--- On Tue, 4/5/11, Stavros Macrakis <macrakis at alum.mit.edu> wrote:

From: Stavros Macrakis <macrakis at alum.mit.edu>
Subject: Re: [Maxima] why doesn't float(%) work?
To: maxima at etherjones.us, "maxima at math.utexas.edu" <maxima at math.utexas.edu>
Date: Tuesday, April 5, 2011, 8:54 PM

Perhaps you want sin and not SIN?

On 2011-04-05, Ether Jones <maxima at etherjones.us> wrote:
>
> I am trying to evaluate the following expression, but float(%) just returns
> the unevaluated expression:
>
> (0.5*(600.0*SIN(0.5235987755983)*(5.0*SIN(0.5235987755983)+1.0)+3000.0*COS(0.5235987755983)^2))/sqrt((5.0*SIN(0.5235987755983)+1.0)^2+25.0*COS(0.5235987755983)^2);
>
> float(%);
>
>
> Is this a bug or am I doing something wrong?
>
>
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>

-- 
Sent from my mobile device