タグ " 物理 "

運動量保存の法則の公式

質量 : M
速度 : V
衝突後の速度(運動量保存) : VF

VF1 = ((M1 - M2) * V1 + 2 * M2 * V2) / (M1 + M2)
VF2 = (V1 - V2) + VF1

カテゴリ:Math

タグ:,

Post at 2008年07月13日 01:11 | Permalink


オブジェクトを円運動させる公式

オブジェクトのX座標 = X
オブジェクトのY座標 = Y
円の中心のX座標 = CenterX
円の中心のY座標 = CenterY
角度(ラジアン) = Angle
横半径 = RadiusX
縦半径 = RadiusY
回転速度 = VR

X = CenterX + Math.cos(Angle) + RadiusX
Y = CenterY + Math.sin(Angle) + RadiusY
Angle += VR

RadiusX = RadiusY の時、正円運動。

カテゴリ:Math

タグ:,

Post at 2008年07月07日 21:28 | Permalink





Feed


Powered by Movable Type 4.27-ja

Hosted by heteml