If tanθ=1√2, find the value of cosec2θ−sec2θcosec2θ+cot2θ.
If θ is an acute angle and tanθ=1√7, then the value of cosec2θ−sec2θcosec2θ+sec2θ is