Let y=y(x) be a solution of the differential equation eydy−(2+cosx)dx=0 satisfying y(0)=0. Then the value of y(π2) is equal to
A
lnπ
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
ln(2+π)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
ln(1+π)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
does not exist
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is Bln(2+π) eydy=(2+cosx)dx
Integration on both sides, ∫eydy=∫(2+cosx)dx ⇒ey=2x+sinx+C
Since y(0)=0, ∴1=0+0+C ⇒C=1 ∴ey=2x+sinx+1
For x=π2, we have ey=π+1+1 ⇒y(π2)=ln(2+π)