What did ptolemy write?

laudius Ptolemy wrote several books, the most important was called the Almagest, it was written in 150 a.d. and was divided in to thirteen parts. He also wrote other books like the Optics.