MAGNITUDE 函數

傳回其升高為 A 且其執行為 B 的向量大小,乘以個別常 數 constantAconstantB

語法

MAGNITUDE (constantAAconstantBB )

參數

名稱 必要/選用 資料類型 描述
constantA
必要項目
數字
要乘以揚升的常數。
A
必要項目
數字
揚升。
constantB
必要項目
數字
要乘以距離的常數。
B
必要項目
數字
揚升。

註解

MAGNITUDE 是依據下列公式計算而得到的:

SQRT((constantA * A)^2 + (constantB * B)^2)

範例

MAGNITUDE(1, 3, 1, 4)

會傳回 5。