State the factors that affect the speed and the rotation of the motor