Human: How did the philosopher Hero of Alexandria die? Assistant: 
Hero died in a battle against the Romans. He was a famous scientist and inventor who lived in Alexandria, Egypt. He was a student of Archimedes and was the first to build a mechanical screw pump. He is known for his writings on mechanics, hydrostatics, optics, and pneumatics. He is also credited with inventing the first mechanical calculator, a device that could calculate square roots and other mathematical operations.