Properties
Category
English
Similar Topics
Statistics
Comments
1
Participants
2
Subscribers
0
Votes
1
Views
504
Share
Using a variable (slider) as variable name?
Answered
Hi, if I have the following defined:
z_1=1+i
z_2=1+i
n=1 (Slider from 1 to 2 increment by 1)
How can I define:
z_3=z_n
So that if the slider = 1 then z_3=z_1 and if slider = 2 then z_3=z_2
 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
There are more ways to do that. Here are two:
A) Define z_3 as follows:
where you can enter the boolean equality symbol typing "=="
B) In the properties of the slider n  Scripting  On Update insert the code:
There are more ways to do that. Here are two:
A) Define z_3 as follows:
where you can enter the boolean equality symbol typing "=="
B) In the properties of the slider n  Scripting  On Update insert the code:
Comments have been locked on this page!