The dependent variable is something that is affected. For example, it would be the height of a plant. An independent variable is something that is changed throughout the experiment and can vary. An example would be sunlight. If the independent variable(IV) is set to some sunlight. The dependent variable would be a medium plant height