what are the independent and dependent variables of a function?
Roughly speaking, independent variables represent function inputs, while dependent variables represent function outputs. The value of a dependent variable depends on what the input is. However, the independent variable does not depend on anything; it is just whatever you want to input!