Analysis of water for potable and food purposes