Qurak

Do calculations with units

ఉదాహరణ 4 దశలు, ఒకే సెషన్‌లో క్రమంగా నడుస్తాయి. ప్రతి దశా ఇంజిన్‌పై అమలు చేయబడింది, కింది అవుట్‌పుట్ అది ఇచ్చినదే.

దశ 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 క్లయింట్ నుండి వాడండి