本文へ移動

Uchusen Rockets宇宙船

出典つきの寸法から描いたロケットです。ページに置いて、分解して、回して見られる線画と彩色した3Dビューに加え、ロケットが本当に組み合わさるかを確かめる、型付きのデータモデルを備えています。

Uchusen は、宇宙を飛ぶ乗り物を意味する日本語「宇宙船」(うちゅうせん)から取った名前です。 名前について(英語)

目次

リファレンス · ジャーニーモード:ホーマン遷移・打ち上げ窓・フリップ&バーンの旅

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; }

引数

名前型説明
distanceMnumber

The distance between the two ends, in the frame in which both are at rest, metres.

anumber

The proper acceleration, m/s^2.

flipSecondsnumber

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

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/uchusen-rockets 0.14.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。