Qurak

Do calculations with units

4 ステップを1つのセッション内で順に実行します。各ステップはエンジンで実行済みで、以下の出力は実際に生成されたものです。

ステップ 1
Quantity[19.25, "Kilometers"] + Quantity[13, "Miles"]
出力
Quantity[40.171472, Kilometers]
ステップ 2
Quantity[20, "Feet"] / Quantity[2.3, "Seconds"] + Quantity[9, "Meters" / "Seconds"]
出力
Quantity[38.22321122903116, Feet/Seconds]
ステップ 3
N[Quantity[175, "Pounds"] / Quantity[100, "Kilograms"]]
出力
0.7937866475
ステップ 4
Quantity[24, "Miles" / "Gallons"] * Quantity[16.2, "Gallons" / IndependentUnit["tank"]] * Quantity[1 / 8, IndependentUnit["tank"]]
出力
Quantity[48.599999999999994, Miles/Gallons*Gallons/IndependentUnit["tank"]*IndependentUnit["tank"]]

使用する関数

関連レシピ

すべてのレシピ · 関数リファレンス · MCPクライアントから使う