Students in Ms. James’ physical science built electromagnets using a 4.5 volt battery, a piece of #20 insulated wire, and an iron nail.

The students wrapped coils of wire around the nail, hooked the nail to the battery, and then recorded how many paper clips they could pick up using their electromagnet. They increased the coils of wire by five each time, beginning with 5 coils and ending with 20 coils. They ran 3 trials at each level and then calculated an average. Here is the data table with the data they collected.

In this experiment, what is the independent variable?
Responses

Abattery voltage
battery voltage
Bnumber of coils of wire
number of coils of wire
Cnumber of paper clips picked up
number of paper clips picked up
Dchange in average clips picked up

has to be one of thee answers above

B. number of coils of wire