If y=ex⋅cotx then dydx will be
excotx−cosec2x
excosec2x
excotx
y=excotxdydx=exddxcotx+cotxdexdx ∵duvdx=udvdx+vdudx=ex−cosec2x+cotxex ∵ddxcotx=−cosec2xdexdx=ex=−cosec2xex+excotx