Differentiate the following w.r.t. x:
cos (log x + ex), x > 0
Let y = cos(logx + ex)
So, by using chain rule, we get,