`f(x) = (sin x)/(|sec x|) - (cos x)/(|"cosec "x|)`
`= sin x *| cos x| - cos x * |sin x|`
`= {{:(0",", x in (0", "pi//2)),(-sin 2x, x in (pi//2, pi)),(0",", x in (pi, 3pi//2)),(sin 2x",", x in (3pi//2, 2pi)):}`
Clearly the domain of f(x) is `R - {(npi)/(2), n in Z}` and the period of f(x) is `2pi`.
So the range of f(x) is (-1, 1).
