Obviously, a resolution of 2 (1 bit) is not sufficient. That would be the
same as on-off control. On the other hand, a resolution of 1024 (10 bits)
is too much because most mechanical systems have errors that exceed
0.1%. For a mechanical system that has an inherent error of 1%,
128 divisions for the PWM is enough. We will use
to represent
the number of bits to represent the output.