A student adds different amounts of ice to four samples of water and records the change in temperature after 30 minutes. What is the independent variable in this investigation?

The independent variable in this investigation would be the amount of ice added to the samples of water.