Properties
Similar Topics
Statistics
Comments
2
Participants
2
Subscribers
0
Votes
1
Views
680
Share
Impossible to redefine
Answered
Hi,
I don't understand why I've got the error : "Impossible to redifine" when I try to change the definition of liste1 into
 Séquence[{"U" + (k) + "=(f(x(U" + (k  1) + ")),0)", "Segment[(x(U" + (k  1) + "),0),(x(U" + (k  1) + "),x(U" + (k) + "))]", "Segment[(x(U" + (k  1) + "),x(U" + (k) + ")),(x(U" + (k) + "),x(U" + (k) + "))]"}, k, 1, 20]
I just changed the 10 into a 20.
Thanks !
(Note : I know this could be achieved without the Execute cmd and only with sequence)
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2022 International GeoGebra Institute
Hi, it seems that it is cmd, related to list1 which does not like it. A workaround : not use list1 and define :
Flatten[Sequence[{"U" + (k) + "=(f(x(U" + (k  1) + ")),0)", "Segment[(x(U" + (k  1) + "),0),(x(U" + (k  1) + "),x(U" + (k) + "))]", "Segment[(x(U" + (k  1) + "),x(U" + (k) + ")),(x(U" + (k) + "),x(U" + (k) + "))]"}, k, 1, 10]]
you'll can modify 10 to 20 without problem
Thanks you, it work now.
But is it a bug ?
Comments have been locked on this page!