Qurak

Do calculations with units

Ví dụ 4 bước, chạy theo thứ tự trong một phiên. Từng bước đều được thực thi trên bộ máy và đầu ra bên dưới là những gì nó tạo ra.

Bước 1
Quantity[19.25, "Kilometers"] + Quantity[13, "Miles"]
Đầu ra
Quantity[40.171472, Kilometers]
Bước 2
Quantity[20, "Feet"] / Quantity[2.3, "Seconds"] + Quantity[9, "Meters" / "Seconds"]
Đầu ra
Quantity[38.22321122903116, Feet/Seconds]
Bước 3
N[Quantity[175, "Pounds"] / Quantity[100, "Kilograms"]]
Đầu ra
0.7937866475
Bước 4
Quantity[24, "Miles" / "Gallons"] * Quantity[16.2, "Gallons" / IndependentUnit["tank"]] * Quantity[1 / 8, IndependentUnit["tank"]]
Đầu ra
Quantity[48.599999999999994, Miles/Gallons*Gallons/IndependentUnit["tank"]*IndependentUnit["tank"]]

Các hàm được dùng

Công thức liên quan

Tất cả công thức · Tài liệu tham chiếu hàm · Dùng cái này từ một client MCP