Properties
Similar Topics
Statistics
Comments
2
Participants
2
Subscribers
2
Votes
1
Views
452
Share
Answered
I want to create a button which performs this task:
The button changes the value of the number `a`.
`a` is initially set to 1. Clicking the button changes `a` to 2, clicking again changes `a` to 3. Clicking yet again changes `a` to 1. (I.e, cyclic)
After choosing a number, the function f(x) = sin(a * x) plotted beforehand, will be changed according to the value of the variable `a`.
Any help?
- 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
© 2023 International GeoGebra Institute
Use the scripting command SetValue(a, If(a < 3, a+1, 1)). The function f(x) = sin (a x) will change with it
chris
Comments have been locked on this page!