Use these variable assignments:
K=equilibrium constant for acetic acid, 1.75*10^(-5)
H=Molarity of hydronium
Fs=formality of the sodium salt (acetate)
Fa=formality of acetic acid
V=milliliters volume of the 0.2 M acetic acid to start with
v= 'little v', the milliliters of 0.2 M sodium hydroxide
Let's generalize since we do not yet know exactly how much acetic acid
and NaOH we want. We can adjust for scale later.
Fundamental equilibrium constant equation is
K = (H)(Fs+H)/(Fa-H)
The sodium acetate normality comes from the added sodium hydroxide:
Fs = (0.2)(v)/(V+v)
The formality of the acid is affected by addition of the NaOH:
Fa = (0.2V - 0.2v)/(V+v)
Substitute the F's into the K equational formula:
This will look nasty here because I cannot typeset with what I have here, so
you should do the substitution yourself ---
K = (H)(v(0.2)/(V+v) + H)/((V(0.2)-0.2v)/(V+v) - H)
See, I told you it looks nasty; it will look better when you do it yourself.
Now, you basically use a few algebra steps to clean the equation and obtain
a formula for 'v'. You should obtain something equivalent to this:
v = (0.2KV - HKV - (H^(2))V)/(((H^(2)) + HK +0.2H + 0.2K)
Use this formula for 'v' to find how much acid and how much base to give your
target pH of 3.90. I started with V=100 ml of 0.2M acid, H=10^(-3.9), K=1.75*10^(-5).
You can then change the scale for the 2000 ml size that you want; 100+v is expected
to be too small so you want to use a factor of 2000/(V+v).