Solve the two-position, time-of-flight transfer problem. Enter departure and arrival position vectors,
choose the transfer time, and compute the required departure and arrival velocity vectors with an
estimated maneuver cost relative to circular reference orbits.
What this tool computes
Lambert's problem asks: if a spacecraft must travel from one position vector to another in a specified
time, what transfer orbit connects those two points? This is one of the most important problems in
mission design because it connects geometry, timing, and velocity requirements.
Departure velocity vector \(\mathbf v_1\)
Arrival velocity vector \(\mathbf v_2\)
Transfer trajectory estimate
Departure and arrival speed
Approximate \(\Delta v\) relative to circular reference velocities
Core mission-design idea
The inputs are the initial position \(\mathbf r_1\), the final position \(\mathbf r_2\),
the time of flight \(\Delta t\), and the gravitational parameter \(\mu\).
Unlike a Hohmann transfer, a Lambert transfer is not limited to two circular coplanar orbits.
It is used for rendezvous, phasing, interplanetary transfers, and trajectory targeting.
Universal-variable Lambert formulation
This educational implementation uses a universal-variable style solution. The geometry is controlled by
the transfer angle and the Lambert parameter \(A\):
\[
A = \sin(\Delta \theta)
\sqrt{\frac{r_1 r_2}{1-\cos(\Delta \theta)}}
\]
The solver searches for the universal variable that matches the requested time of flight, then computes
the Lagrange coefficients and velocity vectors.