Percent Change Application: Generating Questions with GeoGebra

Percent Change Application: Generating Questions with GeoGebra
Loading the math board and drawing, please wait…
2021-05-21 00:04
This example demonstrates how to create various types of questions related to percent change using GeoGebra. The key mathematical concepts include percentage calculation, random generation, and conditional logic. Construction involves commands like Random, Sequence, Element, Min, Max, If, along with text fields and input boxes. Suitable for middle or high school mathematics teaching to practice percentage understanding and application.

GeoGebra Commands & Parameters

  1. Random(1, 6) → rand
  2. Sequence(i, i, 1, 100, 1) → alist
  3. Random(1, 100) → arand
  4. Element(alist, arand) → a
  5. Sequence(i, i, 1, 100, 1) → blist
  6. Random(1, 100) → brand
  7. Element(blist, brand) → b
  8. Sequence(i, i, 1, 100, 1) → clist
  9. Random(1, 100) → crand
  10. Element(clist, crand) → c
  11. Sequence(i, i, 1, 100, 1) → dlist
  12. Random(1, 100) → drand
  13. Element(dlist, drand) → d
  14. Min(a, b) → m
  15. Max(a, b) → M
  16. If(rand ≟ 1, ans1, rand ≟ 6, ans6, rand ≟ 2, ans2, rand ≟ 3, ans3, rand ≟ 4, ans4, rand ≟ 5, ans5) → ans
  17. Textfield(e) → InputBox1
  18. If(abs(e - ans) < 1, "Very close! Did you round correctly?", " ") → text10
  19. If(e > ans, "No: Too high.", "No: Too low.") → text11

AI Drawing Prompt Reference

Create a practice layout for percent change questions: randomly pick an initial number rand and define a corresponding target answer ans using multiple conditional cases. Show a numeric input field for the user’s value e, and include a feedback text area that reacts to how e compares with ans. If e is very close to ans, display “Very close! Did you round correctly?”; otherwise, display either “No: Too high.” when e > ans or “No: Too low.” when e < ans. Arrange the construction flow as: random question generation → determine the needed values and compute ans → present the input box and the conditional feedback texts.
The prompt above was compiled from the original drawing commands and is for reference only.