- (a) Determine the general solution of the differential equation
$$\cos x \frac { \mathrm {~d} y } { \mathrm {~d} x } + y \sin x = \mathrm { e } ^ { 2 x } \cos ^ { 2 } x$$
giving your answer in the form \(y = \mathrm { f } ( x )\)
Given that \(y = 3\) when \(x = 0\)
(b) determine the smallest positive value of \(x\) for which \(y = 0\)