|
|
|
|
|
X=3m, Y=X*X, display(Y) | First X get the value 3m (3 meters). Then Y is assigned to X*X which is 9 m2 (9 square meters). When displaying Y then we expect (9 m2). |
X=3m, Y=X/X, display(Y) | First X get the value 3m (3 meters). Then Y is assigned to X/X which is 1 (without dimensional unit). When displaying Y then we expect (1). |
X=3m, Y=5cm, display(X*Y) | The product of 3 m * 5 cm is 0.15 m2. |
display( (2kg*1m) / (1 s2) ) | As 1 N = 1kg*m/s2, the result is 2 N (newton) |
display( 220 'V' * 10 'A' ) | As 1 W = 1V*1A, the result is 2200 W (Watt). |
display( 1 umol / 1 l ) | This value is converted to its standard dimension which is umol/ml. Thus the result is 0.0010 umol/ml. |
|
|