ph of 10 grams of sodium acetate and 100 mL of .5M acetic acid

Your post is a bit cryptic but I think you can obtain pH by using the Henderson-Hasselbalch equation. That's

pH = pKa + log(base/acid)