Step 1: Understanding the Concept
Separate the variables: \(e^{-2y}dy=\cos x\,dx\).
Step 2: Integrate
\(-\frac12e^{-2y}=\sin x+c\)
Step 3: Use the condition
At \(x=\frac{\pi}{6}\), \(y=0\): \(-\frac12=\frac12+c\), so \(c=-1\).
Step 4: Result
\(-\frac12e^{-2y}=\sin x-1\), so \(2\sin x+e^{-2y}-2=0\).
Final Answer:
The particular solution is \(2\sin x+e^{-2y}-2=0\).
\[ \boxed{\text{(D) }2\,\sin x+e^{-2y}-2=0} \]