The resistance \( R_g \) of the galvanometer is 30 \( \Omega \), and the current for full-scale deflection is \( I_g = 20 \, \text{mA} = 0.02 \, \text{A} \). To measure a maximum current of 3 A, we use a shunt resistance \( R_s \) in parallel with the galvanometer.
The total current passing through the parallel combination is:
\[
I = I_g + I_s,
\]
where \( I_s \) is the current passing through the shunt. The voltage across the galvanometer and the shunt must be the same, so:
\[
V = I_g R_g = I_s R_s.
\]
Since \( I_s = I - I_g = 3 - 0.02 = 2.98 \, \text{A} \), we have:
\[
R_s = \frac{I_g R_g}{I_s} = \frac{0.02 \times 30}{2.98} \approx 0.201 \, \Omega.
\]
Thus, the resistance of the shunt is approximately 149 \( \Omega \).