Tracy manages the Monroe Orchard, which produces many different types of fruit, including pears. The number of barrels of pears the orchard will produce depends on the number of pear trees that have been planted in the orchard.

b = the number of barrels of pears the orchard will produce
p = the number of pear trees that have been planted in the orchard

Which of the variables is independent and which is dependent?

O b is the independent variable and p is the dependent variable
O p is the independent variable and b is the dependent variable