
As we can observe that y is a fraction of two functions say u and v where,
u = x + cos x and v = tan x
∴ y = u/v
As we know that to find the derivative of fraction of two function we apply quotient rule of differentiation.
By quotient rule, we have –

