GeoGebra Advanced Tutorial 12 – GeoGebraScript, Command Button, and Condition to Show

This is the 12th tutorial in the GeoGebra Advanced Tutorial Series and the first GeoGebra 4.0 Tutorial.  In this tutorial, we are going simulate the rolling of two dice using the command button and the randombetween command.

[iframe http://mathandmultimedia.com/wp-content/uploads/2011/10/rolldice.html 500 400]

If the applet above does not display correctly, click here if you want to download the GeoGebra 4.0 GGB file. » Read more

GeoGebra 4.0 Sneak Peek 7: Text box and Command button

The most significant improvement (I think) in GeoGebra 4.0 is the inclusion of Insert text and Insert button tools.  Before, we needed to have knowledge in HTML codes and basic Javascript to create text boxes in applets, but now all we have to do is just use these tools.

The text tool and command button is ideal for getting input form the user if we convert our worksheet to HTML and we do not wish to show the input box. The input box is used to get input from the user and the command button is used to contain commands or series of commands. For instance, the command button above has the following code: » Read more