On 06 May 2010, at 15:24, Sean Lake wrote: > and when I try to run the following command in maxima: > integrate((acos(sin(x*y)/sin(y)) - cos(y)*asin(sqrt(1 - (cos(y)/ > cos(x*y))^ > 2) / sin(y))) * sin(2*x*y)*2*%pi, x, 0, 1);integrate((acos(sin(x*y)/ > sin(y)) - cos(y)*asin(sqrt(1 - (cos(y)/cos(x*y))^2) / sin(y))) * > sin(2*x*y)*2*%pi, x, 0, 1); > > my system slows to a crawl as the sbcl process gobbles up tons of > RAM. I'm using a Macbook with an Intel Core 2 Duo 2.4GHz and 2 GB of > RAM. The RPRVT, as reported by top, got over 1.4 GB at one point. > This was, of course, after I quit everything else. > > For what it's worth, the hoped for answer (in Maxima parlance) is: > (4*%pi *sin(y/2)^2)^2, or some equivalent to that via trig > identities. Having checked the integral numerically at various > numerical values of y, I'm fairly confident in the answer.
I guess you mean, for the maxima command : assume ( cos (x*y ) > 0 ); integrate((acos(sin(x*y)/sin(y)) - cos(y)*asin(sqrt(1 - (cos(y)/ cos(x*y))^2) / sin(y))) * sin(2*x*y)*2*%pi, x, 0, 1); (without the "assume" maxima even refuses to start here ..) your hoped for answer can't be true, if I read the formula correctly : eg., for y=3 , x=.5, cos(y)/cos(x*y) is well below -1 , so the sqrt you want to take is that of a negative number.. Possibly maxima should discover this before doing a lot of number- crunching, but that would rather seem as a "bug" to file upstream... JF Mertens ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
