integrating tanx over [0,π2]Note that what is meant by ∫0π2tanxdx is actually limt→π2-∫0ttanxdx, since tanx is defined on [0,π2) but not at π2.∫0π2tanxdx=limt→π2-∫0ttanxdx=limt→π2-ln|secx||0t=limt→π2-ln|sect|-ln|sec0|=limt→π2-ln|sect|=∞.