Differentiate this equation: xy^2 = sin(3x) + y/x

y2 + 2xy dy/dx = 3cos(3x) + 1/y - x/y2 dy/dx                   thereforedy/dx = (3cos(3x) + 1/y - y2​​​​​​) / (2xy + x/y2)

AE