HP Forums
Integrate tan(x)^2 - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Integrate tan(x)^2 (/thread-3374.html)

Integrate tan(x)^2 - phgerin - 03-14-2015 04:57 PM

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 ?

RE: Integrate tan(x)^2 - Gerald H - 03-14-2015 05:41 PM

Perhaps the answer on the 50G:


is more informative?

RE: Integrate tan(x)^2 - Gerald H - 03-15-2015 11:06 AM

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.

RE: Integrate tan(x)^2 - parisse - 03-15-2015 01:30 PM

No, atan(tan(x)) is always rewritten with a floor.