Sort the variables of these three studies based on whether they are independent or dependent variables.

Study 1: the effect of light on flowering patterns of plants
Study 2: the effect of penicillin on the growth of E. coli
Study 3: the effect of progesterone on the ovulation of rats