Find the derivative of the following functions (it is to be understood that a, b, c, d, p, q, r and s are fixed nonzero constants and m and n are integers): \(\frac{x^2cos(\frac{\pi}{4})}{sin\,x}\)
What is its domain and range?