predicting the formation of a precipitate