Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 419. Acidity of vinegar and salts

Created by AMITAVA BISWAS

Assuming: pH (potentia hydrogenii) = - log10(H+ ionic concentration in mol/Liter). For a buffer solution containing acetic acid and sodium acetate, according to Henderson-Hasselbalch equation, the solution will have pH = 4.7 + log10(concentration of acetic acid / concentration of sodium acetate). If some sodium hydroxide (NaOH) is added that much (in mol for mol) acetic acid will be converted to sodium acetate. Your function should output final pH for a small input of NaOH in mol.

For example, when NaOH added is 0 mol to a solution containing 0.1 mol acetic acid and 0.1 mol sodium acetate then final pH is 4.7.

Tags

Problem Group

Solution Statistics

33 correct solutions 36 incorrect solutions
Last solution submitted on Sep 13, 2014