The provided differential equation is:
\[ \frac{dy}{dx} + 2y = \sin(2x), \quad y(0) = \frac{3}{4} \]
The integrating factor (I.F) is calculated as:
\[ \text{I.F} = e^{\int 2dx} = e^{2x} \]
Multiplying the equation by the integrating factor yields:
\[ ye^{2x} = \int e^{2x} \sin(2x) \, dx \]
The integral is solved using integration by parts, resulting in:
\[ ye^{2x} = e^{2x} \left( \frac{2 \sin 2x - 2 \cos 2x}{4 + 4} \right) + C \]
Simplifying this expression gives:
\[ ye^{2x} = e^{2x} \left( \frac{\sin 2x - \cos 2x}{4} \right) + C \]
Applying the initial condition \( y(0) = \frac{3}{4} \) allows us to solve for C:
\[ \frac{3}{4} = \left( \frac{1}{4} (0 - 2) \right) + C \]
\[ \frac{3}{4} = -\frac{1}{4} + C \implies C = 1 \]
The complete solution to the differential equation is:
\[ y = \frac{\sin 2x - \cos 2x}{8} + e^{-2x} \]
To determine the value of \( y\left(\frac{\pi}{8}\right) \):
\[ y\left(\frac{\pi}{8}\right) = \frac{1}{8} \left( 2 \sin \frac{\pi}{4} - 2 \cos \frac{\pi}{4} \right) + e^{-\pi/4} \]
Given that \( \sin \frac{\pi}{4} = \cos \frac{\pi}{4} = \frac{\sqrt{2}}{2} \), the expression simplifies to:
\[ y\left(\frac{\pi}{8}\right) = 0 + e^{-\pi/4} = e^{-\pi/4} \]