The key lies in the formulations of the algorithm, which is a program code stored in the robot?s microprocessor.