If we have the derivative $\dfrac{dy}{dx}$ but $y$ doest not depend on $x$, why is $\dfrac{dy}{dx} = 0 ?$
I think that a possible correct thought is that if we see the derivative as rate of change, is clear that since the variable $x$ does not affect $y$, then no change occurs and therefore the derivative is zero.
But, what is the interpretation if we see the derivative as slope ?