Solving for v