“We can use some fancy math to predict how long the line will get,” Keely Croxton of Ohio State says, then apply it to related problems.