An investigation was done with an electromagnetic system made from a battery and wire wrapped around a nail. Different sizes of nails were used. The number of paper clips the electromagnet could pick up was measured. What is the dependent variable in this experiment?
A) the size of nail used
B) the amount of paperclips picked up
C) the size of battery used
D) the type of wire used