Developing Interactive GeoGebra Applets

Post Reply
User avatar
Eli
Senior Expert Member
Reactions: 183
Posts: 5334
Joined: 9 years ago
Location: Tanzania
Has thanked: 75 times
Been thanked: 88 times
Contact:

#1

Here we use GeoGebra to develop a simple interactive applet to help kids learn integer addition. Below are algorithmic steps for creating the intended applet:
  • Select Settings (the gear icon) and untick/deselect Show Grid, Show xAxis/yAxis, Show Numbers (on both the xAxis and yAxis).
  • Create two random variables a and b, each taking values [-10, 10], you can choose your desired range.
  • Add via Text (select Text ABC) objects a+b = ? (do this by hovering the cursor on the menu with a = 2, and select Text ABC -> Serif/LaTeX formula -> GeoGebra logo -> choose objects as appropriate by clicking them).
  • Add via Text (Select Text ABC, under the menu a = 2) the texts "Correct", and "Incorrect", one at a time.
  • Input a+b, this will likely assign the variable a + b to c (i.e., c = a + b).
  • Create the variable, answer = 0 (You can select a different value from 0).
  • Set the initial input by adding Answer = 0 via Input Box (Start from the menu a = 2, select object, answer = 0), and then add Caption, Answer = .
  • Link the object answer = c to the text Correct (Select Correct – > Settings – > Advanced, then input answer == c under "Condition to Show Object").
  • Link the object answer \(\ne\) c to the text "Incorrect" (Select "Incorrect"– > Settings – > Advanced, then input answer \(\ne\) c).
  • Add "New Problem" button under the menu a = 2: Select Button, add Caption "New Problem", and put "UpdateConstruction()" under GeoGebra Script, then click Ok.
  • Click "New Problem" to generate new question, put your answer into Input Box, click anywhere out of the box to check your answer.
  • You can always add various decorations to texts/objects, such as colors.
Below is an algebraic view showing steps to develop this applet and the applet itself.
0
TSSFL -- A Creative Journey Towards Infinite Possibilities!
User avatar
Eli
Senior Expert Member
Reactions: 183
Posts: 5334
Joined: 9 years ago
Location: Tanzania
Has thanked: 75 times
Been thanked: 88 times
Contact:

#2

Applet -- Integer addition:
0
TSSFL -- A Creative Journey Towards Infinite Possibilities!
User avatar
Eli
Senior Expert Member
Reactions: 183
Posts: 5334
Joined: 9 years ago
Location: Tanzania
Has thanked: 75 times
Been thanked: 88 times
Contact:

#3

Algebraic view removed:
0
TSSFL -- A Creative Journey Towards Infinite Possibilities!
Post Reply

Return to “GeoGebra”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests