Mathematics

If dy/dx = x + cos x, find y

If dy/dx = x + cos x, find y
  • A.
    x2 – sin x + c
  • B.
    x2 + sin x + c
  • C.x2/2 – sin x + c
  • D.x2/2 + sin x + c
Correct Answer: Option D
Explanation

dy/dx = x + cos x
y = ∫(x + cos x)dx
y = 1/2x2 + sin x + C