If (cos x)y = (cos y)x find .
Here,
Taking log on both sides,
Differentiating it with respect to x using the chain rule and product rule,