Rose is making frosting for some cupcakes she baked earlier. The amount of frosting needed depends on how many cupcakes there are.

f = the amount of frosting needed
c = the number of cupcakes

Which variable is the dependent variable?

The amount of frosting needed (f) is the dependent variable, as it depends on the number of cupcakes (c) Rose has baked.