Answer:
The independent variable is coffee, and the dependent variable is the heart rate.
Step-by-step explanation:
The meaning of independent variable is the one that in the experiment is not influenced by some other variable. This variable helps to draws conclusions on the variable that is going to be studied. In this case the independent variable is coffee.
The dependent variable is heart rate, because this is the one that is going to be studied. Heart rate is going to depend on the amount of coffee some would drink.