Question: what is the function of dependent?
Answer: 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!