Creating polygons using sequence
I made some polygons using the sequence function
Sequence(Polygon((2k, 0), (2k + 1, 0), (2k + 1, 10), (2k, 10)), k, 0, Tens - 1)
while Tens is a integer slider.
When Tens=1, only one polygon will show (i.e. the leftmost one).
The picture below shows Tens=6
Actually I would like to divide each polygon into 10 smaller pieces (just to add lines like the leftmost polygon)
I used sequence command to create those lines.
Sequence(Segment((0, k), 1), k, 1, 9)
but this command only apply to the leftmost polygon.
Therefore, I would like to ask how should I do in order to create the segments for the other polygons?