Build a polygon using nested command sequence

Rogerio de Souza shared this question 2 years ago
Answered

Hello,

I need to build a parallelogram using a nested sequence command. I was able to build a triangle, but could not modify it accordingly.

The command I used was the following:

Sequence(Sequence((i,j),j,i,15),i,0,15)

i = x-axis and j=y axis

The above command produced a triangle as the attached file. However I need to build a parallelogram, which is equivalent to the other attached file. It is only acceptable using the nested sequence command.

It maybe very simple manipulation of the sequence that I created, however I am stuck here and I was not able to customize it in order to form the parallelogram. Can someone help,

Thansk,

R. de Souza

Comments (2)

photo
1

Sequence(Sequence((i,j),j,i,i+15),i,0,15)

photo
1

Thank you. After I posted this question, I stopped thinking about it for a while. Then I started again by plotting the individual sequences that produced the parallelogram. By looking at them I noticed what I was missing and was able to fix it.


Sequence(Sequence((i,j),j,i,i+5),i,0,15)

This is the correct one.

Anyway, thank you very much for taking the time to reply.

R. de Souza

photo
© 2023 International GeoGebra Institute