Determination of percentage composition of sugar solution from viscosity measurement