Question: how to find independent and dependent variables of a function?
Answer: If, say, y = x+3, then the value y can have depends on what the value of x is. Another way to put it is the dependent variable is the output value and the independent variable is the input value. So for y=x+3, when you input x=2, the output is y = 5.