An automated technique for determining the concentration of trimethylamine in acid