Calculate Missing Rectangle Side Length

Calculate Missing Rectangle Side Length
Loading the math board and drawing, please wait…
2022-07-18 13:47
This GeoGebra interactive example engages students in calculating the missing side length of a rectangle through dynamic input and randomized generation. Core mathematical concepts include rectangle area and perimeter formulas, algebraic rearrangement, and geometric reasoning. The construction leverages GeoGebra commands such as Shuffle, Element, If, Textfield, Polygon, and Segment to generate random coordinates and side lengths, with validation buttons for immediate feedback. Suitable for middle school grades 5–6, it supports formula reconstruction practice and independent geometry exercises.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[Random[1, 5], i, 1, 100]) → randomNosForX, {5, 1, 1, 1, 3, 4, 1, 2, 3, 4, 1, 5, 1, 4, 5, 5, 3, 5, 4, 1, 1, 1, 5, 2, 3, 4, 3, 3, 1, 1, 5, 5, 5, 1, 4, 2, 1, 2, 4, 5, 4, 5, 5, 4, 4, 1, 3, 4, 4, 3, 2, 5, 1, 5, 1, 1, 2, 5, 4, 5, 1, 5, 2, 1, 4, 1, 2, 3, 2, 3, 1, 2, 2, 4, 3, 3, 3, 3, 3, 4, 3, 5, 4, 4, 2, 3, 1, 5, 4, 1, 5, 2, 5, 1, 4, 2, 5, 2, 5, 2}
  2. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  3. Shuffle(Sequence[Random[1, 4], i, 1, 100]) → randomNosForY, {3, 1, 1, 4, 3, 3, 1, 2, 3, 1, 1, 3, 1, 1, 4, 4, 2, 4, 4, 1, 4, 1, 2, 2, 3, 4, 1, 3, 2, 1, 1, 1, 2, 2, 4, 3, 2, 4, 1, 4, 2, 3, 4, 4, 4, 1, 4, 3, 3, 3, 3, 2, 1, 3, 1, 2, 2, 2, 2, 3, 1, 2, 3, 3, 3, 4, 1, 4, 3, 2, 1, 2, 1, 1, 3, 2, 1, 3, 3, 2, 1, 1, 4, 3, 4, 3, 2, 1, 3, 2, 2, 3, 1, 4, 2, 3, 4, 2, 4, 1}
  4. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  5. If(numY ≟ 1, l1(2), If[numY ≟ 2 ∨ numY ≟ 3, l1(4), If[numY ≟ 4, l1(3), If[numY ≟ 5, l1(1)]]]) → sol1
  6. If(numY ≟ 1, l2(2), If[numY ≟ 2, l2(3), If[numY ≟ 3, l2(4), If[numY ≟ 4, l2(5), If[numY ≟ 5, l2(1)]]]]) → sol2
  7. If(numY ≟ 1 ∨ numY ≟ 2, l3(2), If[numY ≟ 3, l3(4), If[numY ≟ 4, l3(5), If[numY ≟ 5, l3(1)]]]) → sol3
  8. Textfield(aInput) → InputBox1
  9. If(Mod[count, 3] ≟ 1, c1, If[Mod[count, 3] ≟ 2, c2, c3]) → correct
  10. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  11. Segment(A, B) → f
  12. Segment(B, C) → g
  13. Segment(C, D) → h
  14. Segment(D, E) → i
  15. Segment(E, F) → j
  16. Segment(F, G) → k
  17. Segment(G, H) → l
  18. Segment(H, A) → m
  19. Segment(I, J) → n
  20. Segment(J, K) → p
  21. Segment(K, L) → q
  22. Segment(L, M) → r
  23. Segment(M, N) → s
  24. Segment(N, I) → t
  25. Segment(I, J) → a
  26. Segment(J, O) → b
  27. Segment(O, P) → c
  28. Segment(P, Q) → d
  29. Segment(Q, R) → e
  30. Segment(R, S) → f_1
  31. Segment(S, N) → g_1
  32. Segment(N, I) → h_1
  33. If(Mod[count, 3] ≟ 1, 1, If[Mod[count, 3] ≟ 2, 2, If[Mod[count, 3] ≟ 0, 3]]) → element
  34. Segment(A, D) → i_1
  35. Segment(H, E) → j_1

AI Drawing Prompt Reference

Create a random rectangle with one known side length and the other side hidden, provide an input box for the student to enter the missing length, and a check button that shows a feedback rectangle: green for correct, red for incorrect. The rectangle vertices are randomly generated with side lengths between 1 and 5, using area and perimeter formulas to compute the missing side. The interface includes multiple rectangle instances for practice, with a button to cycle through questions.
The prompt above was compiled from the original drawing commands and is for reference only.