The partial derivative with respect to y for z=e^y sin(xy) is:

zy= xe^y cos(xy) + e^y sin(xy)
How do i get to this answer? Thanks.

2 answers

d z/dy= d/dy e^y sin(xy)
= sin xy * e^y + cos(xy)*d(xy)/dy *e^y

but d(xy)/dy=x

so there it is.
But why wouldnt the answer be just
xe^y cos(xy)? if the partial derivative with respect to x is just ye^y cos(xy).