If the following equations have two equal roots, then find the value of '\(a\)'.
 
\(x^2 + ax + 3 = 0\)