I want to find the roots of the function with the method brentq. I am not able top pass the vector with the initial values for the argument args0 = [x0, y0, v0] to the fucti