Step 1: Understanding the Concept
For an acidic buffer, \(\text{pH}=\text{p}K_a+\log\dfrac{[\text{salt}]}{[\text{acid}]}\).
Step 2: Calculation
\(\text{pH}=3.142+\log\dfrac{0.04}{0.02}=3.142+\log2=3.142+0.301=3.443\)
Step 3: Compare the options
The value is about 3.4.
Final Answer:
The pH of the buffer is about 3.4.
\[ \boxed{\text{(B) }3.4} \]