How do you find the derivative of #(cosx)^x#?