Edit: From the @Klaus in comments, the original function is
In the above example,from Imperial College of London math for Machine Learning on Coursera, I understand partial f/partial x since it is easy to treat the e term as a constant but for partial f / partial y, if y is the only term differentiated, my guess would be that the derivative is sin(x) * e ^z^2 as y becomes 1 and everything else is left untouched. For same reason partial f / partial z, my guess is sin(x) * e ^2yz.
But then somewhere I remember the derivative of e to anything is just the same so that is adding to my confusion.
I think the product rule is supposed to be applied here but browsing through Khan academy and a few other online resources did not help me. Can someone please explain to my feeble mind how this unfolds step by step?

