integrate ((1-tan^2 x)/(1+tan^2 x)^2 from 0 to pi/4