Answer:
The independent variable is the time spent petting an animal, and the dependent variable is the stress level.
The independent variable is time, and the dependent variable is the population of field mice.
The independent variable is the number of floors ascended, and the dependent variable is the height of the elevator.