Question: What invention included an inverted pendulum?
Sentence: Zhang also invented a seismometer (Houfeng didong yi 候风地动仪) in 132 AD to detect the exact cardinal or ordinal direction of earthquakes from hundreds of kilometers away.
Answer in sentence: yes