Titration curve of a weak acid