Documentation / @interstellar-tools/equations / rocketDeltaVFromIsp
Function: rocketDeltaVFromIsp()
ts
function rocketDeltaVFromIsp(
Isp: number,
m0: number,
mf: number,
g0?: number
): number;Defined in: manoeuvres/rocket-delta-v-from-isp.ts:45
Compute ideal delta-v from the Tsiolkovsky rocket equation using specific impulse.
Where:
is the specific impulse (s) is standard gravity (m/s²) is initial (wet) mass before the burn (kg) is final (dry / post-burn) mass after the burn (kg)
Units
- Inputs:
Ispin s,g0in m/s², masses in kg. - Output:
in m/s.
Notes
- This is the ideal rocket equation (no gravity/drag losses, finite burn effects, steering losses, etc.).
g0defaults to 9.80665 m/s² (standard gravity).- Requires
mf < m0to yield a positive delta-v.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
Isp | number | undefined | Specific impulse |
m0 | number | undefined | Initial mass |
mf | number | undefined | Final mass m0). |
g0 | number | 9.80665 | Standard gravity 9.80665. |
Returns
number
Ideal delta-v
Throws
If any input is not a finite number.
Throws
If Isp <= 0, g0 <= 0, m0 <= 0, mf <= 0, or mf >= m0.
Example
ts
// Example:
// Isp = 320 s, m0 = 1200 kg, mf = 800 kg
const dv = rocketDeltaVFromIsp(320, 1200, 800);
// dv ≈ 9.80665 * 320 * ln(1200/800) ≈ 1270 m/sSee
https://en.wikipedia.org/wiki/Tsiolkovsky_rocket_equation Tsiolkovsky rocket equation (background and derivation)