Find the particular solution to y ′ = sin(x) given the general solution is y = C − cos(x) and the initial condition y(pi/2)=1

1 answer

well, just plug in the given condition

C-cos(pi/2) = 1
C = 1

So,

y = 1-cos(x)