Find dy/dx of the functions.
(cos x)y = (cos y)x
Given: (cos x)y = (cos y)x
Taking log on both sides, we get
log (cos x)y =log (cos y)x
⇒y log (cos x) = x log (cos y)
Now, differentiate both sides with respect to x