If a city pays a student $50 per day, then the total earnings can be modeled using the function:
[tex]f(x)=50x[/tex]Where f(x) are the earnings (in dollars) for x days of work. In this case, the dependent variable is the total earnings (f(x)), and the independent variable is the number of days the student work (x).
If a student works the whole week, then x = 7, and the potential earnings are:
[tex]\begin{gathered} f(7)=50\cdot7 \\ \\ \therefore f(7)=\$350 \end{gathered}[/tex]