for such functions check out this shortcut :
let f = xsiny+ycosx-3
dy/dx =
where
indicates partial derivative .
if u plug in the value of f as given above and differentiate u can find ans to such long problems in split seconds.....
dy/dx = - (siny -y sinx) / (xcos y+ cos x)
u can try the same formula for things like x tany etc.
rate if u find useful