`y=e^(sin\ x)`
Let `u=sin\ x`, so `y=e^u`.
`(dy)/(dx)=(dy)/(du)(du)/(dx)`
`=e^u (d(sin\ x))/(dx)`
`=e^(sin\ x) (cos\ x)`
`=cos\ x(e^(sin\ x))`