If y=y(x) is the solution of differential equation 2+sinxy+1(dydx)=−cosx,y(0)=1, then y(π2) equals
A
−73
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
73
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
13
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
23
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C13 The given differential equation can be rewritten as: 1y+1dy=−cosx2+sinxdx
Integrating both sides, we get ∫1y+1dy=−∫cosx2+sinxdx ⇒ln|y+1|+ln|c|+ln(2+sinx)=0 (Here, c is the constant of integration) ⇒|c(y+1)|(2+sinx)=1⋯(i)
when x=0,y=1 4c=±1⇒c=±14
From (i) |y+1|(2+sinx)=4
Now put x=π2 ⇒|y+1|3=4 ∴y=13 or y=−73