Function that calculates speed of a rotary axis to keep the linear speed of the feed material constant as the diameter of the rotary axis changes