A student prepares 0.5 M solution each of hydrochloric and ethanoic acids and then measured…