If the tortoise had two light sensors instead of one, in general could it be better at following the light gradient? If so, provide a brief description of an algorithm it could use.
  • Yes, the tortoise would probably be able to follow the light gradient better using two sensors. When it only has one sensor it could have very erratic behavior. For example, if the tortoise is initially facing directly away from the light gradient it could take it a long path to turn around (since it would continue travelling away from the light while constantly fluctuating between alternating directions). When it has two sensors, it can compare the values of the sensors and turn towards the sensor with the higher light reading. This algorithm would follow the light gradient more consistently than the one with a single sensor.

Valid HTML 4.0 Transitional