If y(x) is a solution of the differential equation `((2+sinx)/(1+y))(dy)/(dx)=-cosx` and y(0)=1 then find the value of `y((pi)/2)`