I'm trying to calculate the required delta-v to travel from a 200 km Earth orbit to a 200 km Mars orbit using the last equation from this answer:
$\Delta V=\sqrt{{\mu_S\over r_1}\left(\sqrt{\frac{2r_2}{r_1+r_2}}-1\right)^2+\frac{2\mu_1}{a_1}}-\sqrt{\mu_1\over a_1}+\sqrt{{\mu_S\over r_2}\left(\sqrt{\frac{2r_1}{r_1+r_2}}-1\right)^2+\frac{2\mu_2}{a_2}}-\sqrt{\mu_2\over a_2}$
I believe I have filled all the variables correctly, but I'm getting a delta-v value of 783 921 km/s. This is definitely not correct.
Here is what the filled in equation looks like:
Does anyone know what I did wrong?
I want to use this equation in a space exploration game I'm working on.