Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit d1b9085

Browse files
committed
trac 17468 two more integral tests
1 parent 533fd5d commit d1b9085

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/sage/symbolic/integration/integral.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,13 @@ def integrate(expression, v=None, a=None, b=None, algorithm=None, hold=False):
885885
sage: integrate(abs(x^2 - 1), x, -2, 2)
886886
4
887887
888+
Some tests for :trac:`17468`::
889+
890+
sage: integral(log(abs(2*sin(x))), x, 0, pi/3)
891+
1/36*I*pi^2 + I*dilog(1/2*I*sqrt(3) + 1/2) + I*dilog(-1/2*I*sqrt(3) - 1/2)
892+
sage: integral(log(abs(sin(x))), x, 0, pi/2)
893+
-1/2*pi*log(2)
894+
888895
Check that :trac:`25823` is fixed::
889896
890897
sage: f = log(sin(x))*sin(x)^2

0 commit comments

Comments
 (0)