Answer
$y=-cos(x)+1$
Work Step by Step
$\frac{dy}{dx}=sin(x);$ $y(\frac{\pi}{2})=1$
$dy=sin(x)dx$
$\int dy=\int sin(x)dx$
$y=-cos(x)+C$
Substitute in the initial condition to solve for $C$
$1=-cos(\frac{\pi}{2})+C$
$C=1$
$y=-cos(x)+1$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.