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

Commit

Permalink
trac 17468 two more integral tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Oct 8, 2019
1 parent 533fd5d commit d1b9085
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/sage/symbolic/integration/integral.py
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,13 @@ def integrate(expression, v=None, a=None, b=None, algorithm=None, hold=False):
sage: integrate(abs(x^2 - 1), x, -2, 2)
4
Some tests for :trac:`17468`::
sage: integral(log(abs(2*sin(x))), x, 0, pi/3)
1/36*I*pi^2 + I*dilog(1/2*I*sqrt(3) + 1/2) + I*dilog(-1/2*I*sqrt(3) - 1/2)
sage: integral(log(abs(sin(x))), x, 0, pi/2)
-1/2*pi*log(2)
Check that :trac:`25823` is fixed::
sage: f = log(sin(x))*sin(x)^2
Expand Down

0 comments on commit d1b9085

Please sign in to comment.