The independent variable in this scenario is p, or the number of people on the trip. This is because the number of people on the trip is not influenced by another variable, whereas the opposite can be said for the total weight of food packed for each day. The total weight of the food packed highly depends on how many students there are