Independent variable: The time that is taken for all of the sugar to dissolve. This is the dependent variable. Dependent variable: If we use caster sugar or icing sugar, the type of sugar.