The correct option is A the independent variable is v and the dependent variable is P.
As in the equation P=mv, mass of the particle is given as m,
So, in the equation, on changing v, the value of P will change, also, the equation can be written as P=f(v).
Hence, the independent variable is v and the dependent variable is P.