an experiment was done to determine if the rate at which an egg cooked depended on the temperature of water in which was boiled .what is the independent variable
The independent variable is the temperature of the water. It doesn't depend on anything else in the experiment, and can only be changed by the person doing the investigation.