1D Relative Velocity Calculator

Compute relative velocity v_rel = v₁ − v₂ for two objects moving along the same line, for pursuit and reference-frame problems.

📐 計算公式
一維相對速度(本頁程式碼口徑):v_r = v₁−v₂(m/s,同向相減、反向由負號自然體現相加);聯動量:km/h = v_r×3.6、速度比 = v₁÷max(v₂,10⁻⁹)(v₂ 為 0 時按 10⁻⁹ 兜底)、質心繫相對速度 = v_r÷2(m/s)。校驗:任一速度留空或非數即提示;不再按 0 兜底。判據:無固定分級,v_r 為正表示物體 1 相對物體 2 向前運動,兩速度相等時相對靜止。

輸入兩物體速度 v₁、v₂,求相對速度。

📌 計算說明
  • v_rel = v₁−v₂(同方向)。
  • 30−20 → 10 m/s。