Documentation / @interstellar-tools/equations / initialMassForDeltaV
Function: initialMassForDeltaV()
ts
function initialMassForDeltaV(
mf: number,
dv: number,
Isp: number,
g0?: number
): number;Defined in: manoeuvres/initial-mass-for-delta-v.ts:59
Compute the mass needed at ignition to give a final mass a delta-v: the rocket equation solved for
Where:
is the mass left after the burn (kg) is the delta-v of the burn (m/s) is the specific impulse (s) is standard gravity (m/s²)
Units
- Inputs:
mfin kg,dvin m/s,Ispin s,g0in m/s². - Output:
in kg.
Notes
- The factor
is the price of the burn: every kilogram left after it costs that many kilograms before it. - For a sequence of burns, work backwards from the last one: each burn's
is the previous burn's . - This is the ideal rocket equation: the result counts propellant, not the tanks and engines that hold and burn it.
In practiceApollo 11's lunar module, before landing
9 905 kg
To land with a 4 888 kg ascent stage, for 2 112.3 m/s at 305 s
The real lunar module weighed 15 279 kg at undocking: the rest is the descent stage's own structure, engine and legs.
ts
initialMassForDeltaV(4888, 2112.3, 305); // ≈ 9905 kgParameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
mf | number | undefined | Mass after the burn |
dv | number | undefined | Delta-v of the burn |
Isp | number | undefined | Specific impulse |
g0? | number | 9.80665 | Standard gravity 9.80665. |
Returns
number
Mass at ignition
Throws
- If any input is not a finite number.
- If
mf <= 0,dv < 0,Isp <= 0org0 <= 0.
Example
ts
// 800 kg left after a 1270 m/s burn at Isp = 320 s
const m0 = initialMassForDeltaV(800, 1270, 320);
// m0 ≈ 800 * e^(1270 / 3138.1) ≈ 1200 kgSee
- rocketDeltaVFromIsp
- https://en.wikipedia.org/wiki/Tsiolkovsky_rocket_equation Tsiolkovsky rocket equation