>>>>> "Poul" == Poul Riis writes:
Poul> Please try
Poul> integrate((tan(x)^2+1)/tan(x),x,%pi/6,%pi/3);
Poul> which on my computer ends up with something different from what I expect
Poul> to be the result, namely log(3).
What version of maxima? What lisp?
FWIW, current CVS maxima gives an error on this integral: sign called
on an imaginary argument (-1)^(1/4).
Poul> Try also
Poul> integrate((tan(x)^2+1)/tan(x),x);
Poul> followed by
Poul> logcontract(%);
Current maxima says the integral is log(tan(x)).
Ray