simlogo1

 

 

 

SimQuest 6.4 help

 

 

Quotient

 

When applied to two numbers or two arrays of numbers, Quotient produces the number obtained by dividing the first number by the second and then rounding down that intermediate result to obtain an integer or the array obtained by combining corresponding components of the arrays in the same fashion, respectively.
It has three variables: denominator, numerator and result.

 

Structure (for scalars):

       quotient(numerator/denominator)=result

 

Example:

       quotient(1/2) = 0

       quotient(-9/4) = -2

       quotient(-0.9/0.4) = -2

       quotient((1, -9, -0.9)/(2, 4, 0.4)) = (0, -2, -2)

 

 

 

Related topics:

 

 

 

Copyright University of Twente 2011