Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

First, make sure that you variable "x" is defined to be a symbolic variable:

sage: var('x')

then you can use the command integrate:

sage: integrate(sin(x)*tan(x), x)
-1/2*log(sin(x) - 1) + 1/2*log(sin(x) + 1) - sin(x)

First, make sure that you variable "x" is defined to be a symbolic variable:

sage: var('x')

then you can use the command integrate:integrate command:

sage: integrate(sin(x)*tan(x), x)
-1/2*log(sin(x) - 1) + 1/2*log(sin(x) + 1) - sin(x)