On Monday, May 4, 2015 at 1:42:21 PM UTC-7, Emmanuel Charpentier wrote:
>
> Six month and a few versions of Sage and Maxima later, I've checked (in a 
> different way, see below) that the same problem still exists. Nobody has a 
> clue about this problem ?
>

Well, at least if you pass to maxima exactly the result that sage ends up 
passing to the maxima integrator, we get a useless result from maxima as 
well:

 (%i8) F: 1/2*sqrt(2)*e^(-1/2*(mu - log(x))^2/sigma^2)/(sqrt(%pi)*sigma*x);
(%o8) 1/(sqrt(2)*sqrt(%pi)*e^((mu-log(x))^2/(2*sigma^2))*sigma*x)
(%i9) integrate(x*F,x,0,inf);
(%o9) ('integrate(1/e^((mu-log(x))^2/(2*sigma^2)),x,0,inf)) 
/(sqrt(2)*sqrt(%pi)*sigma)

it seems the maxima that sage uses gets prepped with additional methods 
(which then fail on some assumption) but it does not seem to be any of

display2d : false;
domain : complex;
keepfloat : true;
load(to_poly_solve);
load(simplify_sum);
load(abs_integrate);
load(diag);

which I thought was the preamble we provide. Perhaps something else gets 
added in some other dark corner?

-- 
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to