In mathematics, Thales used geometry to solve problems such as calculating the height of pyramids and the distance of ships from the shore. He is the first known individual to whom a mathematical discovery has been attributed. Also, Thales was the first person known to have studied electricity.