he seemed to be listening with abstracted interest , as though weighing the reaction of a robot of a given type to a new situation and comparing it , with relationships , variables , constants , and differential equations only he understood .