Skip to content

Commit

Permalink
src/doc/en/prep/Calculus.rst: add a "needs sage.libs.giac"
Browse files Browse the repository at this point in the history
There's an example in this file that can only be integrated by
giac. We add the corresponding "needs" tag, but also, since this is
end-user documentation, explain why it is there.
  • Loading branch information
orlitzky committed Oct 2, 2024
1 parent fda5648 commit 22e7ffa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc/en/prep/Calculus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,9 @@ help it look nicer in the browser?
- 1/10*(sqrt(5) - 3)*log(2*x^2 + x*(sqrt(5) - 1) + 2)/(sqrt(5) - 1)
+ 1/5*log(x + 1)

Some integrals are a little tricky, of course. Sage tries hard to integrate using Maxima, Giac and Sympy::
Some integrals are a little tricky, of course. Sage tries hard to integrate using Maxima, Sympy, and (optionally, if installed) Giac. The following can only be integrated by Giac::

sage: # needs sage.libs.giac
sage: integral(1/(1+x^10),x)
...1/20*(sqrt(5) + 1)*arctan((4*x + sqrt(-2*sqrt(5) + 10))/(sqrt(5) + 1))
+ 1/20*(sqrt(5) + 1)*arctan((4*x - sqrt(-2*sqrt(5) + 10))/(sqrt(5) + 1))
Expand Down

0 comments on commit 22e7ffa

Please sign in to comment.