I'm having a lot trouble with this problem. I need the minimum escape velocity for the (earth sun) solar system. I can't simply integrate the potential with respect to radius since this changes with respect to time. I have worked out the velocity needed to purely escape the sun's influence ignoring earth which is $\sqrt{2\frac{GM_s}{R}}-v_e$ where $M_s$ is the mass of the sun and $v_e$ is the orbital velocity of earth and $R$ is sun earth radius. This is approximately 12.3km/s which can also be seen here
What's troubling me is that must account for the changing potential of the earth with respect to the sun, we can't simply add the escape velocity of the earth can we? I have worked out that the velocity of the earth in the direction of launch is $v_l - v_ecos(\omega t) =v_l-v_e$ approximately where $v_l$ is velocity of launch. How do I go on from here? Please feel free to leave a comment if the question is unclear