Random Angle

It is time to create the random angle for the question. There are several ways of doing it. The simple way is creating a slider between 0[math]^\circ[/math] and 180[math]^\circ[/math] and then hide the slider from the screen. [br][br]When a slider is created, GeoGebra automatically defines a variable for it. We will use that variable to show thr angle on our construction. [br][br][math]\alpha[/math] is the slider variable. We will later change the [math]\alpha[/math] randomly with a button to generate new questions. A' is the rotation of A around O with [math]\alpha[/math] degrees.
It is your turn to try.
Let's add a button to change the value of [math]\alpha[/math] randomly. It will be the first time, we will write our command to a button. We will use two commands to achieve this:[br][br][list=1][*]SetValue()[/*][*]RandomBetween()[/*][/list][br]SetValue, as the name indicates, sets a value for the variable stated. RandomBetween command produces a random number between the numbers given. Do not forget we need to generate angle, so we shouls a [math]^\circ[/math] at the end of the number.
Your turn.

Information: Random Angle