rotorEqual returns the positions of rotor buckets that must be loaded
or empty to balance tubes of equal mass.
Usage
rotorEqual(n, k)
Arguments
n
an integer, the number of rotor buckets.
k
an integer, the number of tubes.
Value
rotorEqual returns a list with two components:
loaded
a vector containing the positions of rotor buckets
that must be loaded.
empty
a vector containing the positions
of rotor buckets that must be empty.
rotorEqual also plots a
schematic diagram of the centrifuge rotor.
Details
The number of rotor buckets n ranges from 4 to
48. The number of tubes k must be greater than 0 and
smaller than the number of rotor buckets n.
References
Sivek G. On vanishing sums of distinct roots of unity. Integers.
2010;10(3):365-8. Peil O, Hauryliuk V. A new spin on spinning your
samples: balancing rotors in a non-trivial manner. arXiv preprint
arXiv:1004.3671. 2010 Apr 21.
See Also
rotorCheck for checking centrifuge rotors and
rotorUnequal for balancing tubes of unequal mass.