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)
2 | No.2 Revision |
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)