The Sumerians developed a complex system of metrology c. Who invented the slide ruler?