next up previous contents index
suivant: Convert units into MKSA monter: Unit objects précédent: Notation of unit objects   Table des matières   Index

Computing with units

Xcas performs usual arithmetic operations (+, -, *, /, ^) on unit objects. Different units may be used, but they must be compatible for + and -. The result is an unit object Input :
1_m+100_cm
Output :
2_m
Input :
100_cm+1_m
Output :
200_cm
Input :
1_m*100_cm
Output :
1_m^2



giac documentation written by Renée De Graeve and Bernard Parisse