is there a way to generate an if loop in geoebra?

Cecilia Lucía Gigena shared this question 10 months ago
Answered

I have read about "for" loop in geogebra, and about using "if" for ONE command. But I want to repeat this command again and again until that "if" condition is not satisfied anymore. How can I do that?

I have this file, which works well making a bigger when you go to the left and making e bigger when I go to the right. But if I have just gone to the right and now I go to the left, current e value becomes too big. I want e to become shorter until I go to the left. I considered using a Corner value, but that doesn't fit this project because it has to be a whole number. I don't know how to generate a whole number that is just below current right corner.

I provide a dropbox link in case you cannot open my attachment:

https://www.dropbox.com/s/h...

Best Answer
photo

how to generate a whole number that is just below current right corner.

floor(Corner(3))

Comments (2)

photo
3

how to generate a whole number that is just below current right corner.

floor(Corner(3))

photo
1

thanks!

photo
© 2022 International GeoGebra Institute