differentiate e^x cosx with respect to cosx