リファレンス · ジャーニーモード:ホーマン遷移・打ち上げ窓・フリップ&バーンの旅
flipAndBurn関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A trip of constant acceleration with a turn round in the middle: burn to the halfway point, coast while the craft turns end for end, burn the same acceleration to stop. The relativistic constant-proper-acceleration answer, which is 2 sqrt(d / a) for slow trips.
インポート
import { flipAndBurn } from "@johnmorrisdotca/uchusen-rockets/journey";
定義
function flipAndBurn(distanceM: number, a: number, flipSeconds: number): { burnSeconds: number; peakSpeed: number; gamma: number; properSeconds: number; frameSeconds: number; rapidity: number; }
引数
| 名前 | 型 | 説明 |
|---|---|---|
distanceM | number | The distance between the two ends, in the frame in which both are at rest, metres. |
a | number | The proper acceleration, m/s^2. |
flipSeconds | number | How long the turn takes, during which the craft coasts at its peak speed. 0 for the textbook flip. |
戻り値
{ burnSeconds: number; peakSpeed: number; gamma: number; properSeconds: number; frameSeconds: number; rapidity: number; }
How long each burn lasts in the frame's time, the peak speed, the Lorentz factor then, the time on board and in the frame, and the rapidity at the flip.
例
import { flipAndBurn, G0, LY_M } from "@johnmorrisdotca/uchusen-rockets/journey";
const trip = flipAndBurn(4.37 * LY_M, G0, 0);
console.log((trip.properSeconds / 31_557_600).toFixed(1), (trip.peakSpeed / 299_792_458).toFixed(3));3.6 0.952出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。