Write the range of the function f(x) = cos[x], where -π/4 less than x less than π/2.