Step 1: Creating numbers for your problem[list][*]Type in the following numbers into the input box.[br][/*][list][*]a = RandomBetween(3, 10) (Randomly chooses side lengths for a regular polygon) [/*][*][br][/*][*]**Note: You will see no changes on your screen yet. This creates a random number value that you can use, but you don't see it**[/*][/list][/list][br]Step 2: Creating a regular polygon[list][*]Create a regular polygon by clicking on the polygon tool and selecting "Regular Polygon"[br][/*][/list][img width=154,height=217]https://lh5.googleusercontent.com/6BZIgAUWUgaK4UIwT1UdZgYcFnRjakm9Aye0zabkaxCbv1wcZqx5vRkRdeAD2RCGYgH_Wl0hb86ofGquU3Qo1WZ8wV3aGgL8dnzZUBO4Gp4ot6zgcElRZ941FWbBG5ToXqwantL1[/img][br][list][*]Draw the first side of the polygon by drawing a segment between two points.[br][/*][/list][img width=185,height=70]https://lh5.googleusercontent.com/GGAGZNP-4qRSEnnH4ut9JAWitGN6_dXCIoU_oUAywB766Bs24g0ezdwyXyQ7MuZF4wIh8J7FeXMLY4cpV-1RqKX6vAYMnibCmfo0z9Ugv22ToPWyTNPQsnfGZ0lgFL6GqpFKeRgC[/img][br][list][*]In the pop-up box, type "a" for the number of Vertices in the polygon.[br][/*][/list][img width=365,height=131]https://lh3.googleusercontent.com/PbBZh75lOIU2HtIWku1Z6IFnngMr4hGh-9Lv1WGrbMllqxbvuGUaCRjgZo_a27Q4pZ6AzPWxRRafgU_pFTQlT8qYRt9_LRW4120SFS1_LPbaOAA7szkYKbsa2XVZltkjo8JhVs4o[/img][br][list][*]Press "OK" to create the polygon.[br][/*][/list][br][br]Step 3: Creating a button to update the shape[list][*]Select the Button feature from the slider's drop down box.[br][/*][/list][img width=131,height=217]https://lh6.googleusercontent.com/Q7kNjXZ1UZ1ILAbMWyt7EGBFUl6slpvDiRoN0VkOAl1argDBqLMo0pq7hkgP4Ax4URMQPHLUr6GzoatnyMSTeiyr6USeB8WW9MAz1XumukygDd2C9za9cRq25JxK3pm0u66UKJ74[/img][br][list][*]In the pop-up box, put "New Shape" as the caption.[br][/*][*]Type "UpdateConstruction[]" in the GeoGebra script box[br][/*][/list][img width=432,height=401]https://lh6.googleusercontent.com/KZrcKS2WdbFezF6shnGCVls4SKO5Z9x8lv3oMPQn9M8Co4WC2CRpU3r29Dkfuik36ykofKrJz2-OuTX4k3Xt137DhwQgpRRVFGnInEXljZdDyiLjJcpIvXJD6oPzMaV6GnVtsipu[/img][br][list][*]Press "OK" to create the button.[br][/*][*]Test out your button and see the shape change each time you click the button.[br][/*][/list][br]