HP Forums

Full Version: Integrate tan(x)^2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Integration of tan(x)^2 gives tan(x)-x+pi*FLOOR(1/2+x/pi)

Why do I get FLOOR(...) and not a simple constant ?
Perhaps the answer on the 50G:

tan(x)-atan(tan(x))

is more informative?
Is there a switch/flag in the Prime that would produce the above forms of the integral.

The differential of both forms is tan(x)^2, so both are at least recognized.
No, atan(tan(x)) is always rewritten with a floor.
Reference URL's