integrate(sqrt(1-sin(t)^2)*cos(t), t, %pi, %pi/2);
should give %pi/4, but gives -%pi/4. I think the problem is, then in the integration domain sqrt(1-sin²t) = |cos t| = -cos t.
But maxima for some reason works with |cos t| = cos t
The same problem appears if we change it to:
integrate(sqrt(1-sin(t)^2)*cos(t), t, %pi/2, %pi);
is should give -%pi/4, but returns %pi/4
Maxima 5.43.2
Log in to post a comment.
The same problem appears if we change it to:
is should give -%pi/4, but returns %pi/4
Maxima 5.43.2
Last edit: Ilya Dikarev 2023-10-26