What is the solution of the differential equation \( \cos\left(\frac{dy}{dx}\right) = p \) when \( y(0) = q \) ?

  1. A. \cos\left(\frac{y-q}{x}\right) = p
  2. B. \cos\left(\frac{y-p}{x}\right) = q
  3. C. \cos^{-1}\left(\frac{y-q}{x}\right) = p
  4. D. \cos^{-1}\left(\frac{y-p}{x}\right) = q

Correct Answer: A. \cos\left(\frac{y-q}{x}\right) = p

Explanation

Taking the inverse cosine gives \( \frac{dy}{dx} = \cos^{-1} p \). Integrating yields \( y = x \cos^{-1} p + C \). Applying the initial condition \( y(0)=q \) gives \( C=q \), leading to the solution.

Related questions on Calculus

Practice more NDA Mathematics questions