Previous Up Next

24.1.2  Computing with units

Xcas performs usual arithmetic operations (+, -, *, /, ^) on unit objects. Different units may be used, but for + and - they must be compatible. The result is an unit object.

Examples

1_m+100_cm
     
2.0 m           
100_cm+1_m
     
200.0 cm           

Previous Up Next