If \( \dfrac{d^2y}{dx^2} = \cos \left(\dfrac{dy}{dx}\right) \), find the order and the degree of the resulting differential equation.
Show Hint
Degree of a differential equation exists only when the equation can be written as a polynomial in derivatives. If derivatives appear inside functions like \(\sin\), \(\cos\), or \(\log\), the degree is not defined.