Take a look at the interactivities below which show regular polygons "rolling" along the horizontal surface, leaving a trace of the path of the dot.
In the first interactivity, the graph records the horizontal distance travelled by the dot.
In the second interactivity, the graph records the height of the dot over time.
Experiment by positioning the dot at the centre of the polygons, at one of the vertices or at the centre of one of the sides of the polygons and explore how this affects the two graphs.
Can you now work out what produced the following two graphs?
Can you work out how many sides the polygon had and where the dot was placed?
Try to explain how you worked it out.