why won't this iterationlist work?

Timo Budarz shared this question 3 years ago
Answered

I wish to make a list of vectors oriented tip to tail such that each successive vector is a rotated version of the previous one (by an angle of 0.2rad in this case). Why won't the following command work?

d=IterationList(Translate(Rotate(b, 0.2), (x(b), y(b))), b, {a}, 10)

Here b is the iterator, a is the initial vector that I'd already defined, and 10 is the number of times to iterate.

Regards,


Timo

Comments (1)

photo
1

Hi, try :

  1. d=IterationList(Translate(Rotate(b, 0.2), b), b, {a}, 10)

or

  1. d=IterationList(Translate(Rotate(b, 0.2), vector((x(b), y(b)))), b, {a}, 10)

© 2021 International GeoGebra Institute