rmul

HC Arithmetic Rational numbers rmul
rsub rdiv

rmul ratio1 ratio2 (library procedure)


outputs a rational number as a list of two numbers, nominator and denumerator, which is the product of the two input rationals.

Example:

rmul [1 2][3 4]	; (1/2)*(3/4)=3/8	;[3 8] ;-)

rsub rdiv