Open Middle: Perimeter of a Rectangle

Open Middle: Perimeter of a Rectangle
Loading the math board and drawing, please wait…
2022-05-12 22:40
In collections Perimeter & Area
This example demonstrates how to construct a rectangle and dynamically calculate its perimeter using GeoGebra. Core math concepts include perimeter calculation, geometric construction, and interactive variables. Key GeoGebra commands and objects used are Textfield, Intersect, Polygon, Segment, If, Mode, Length. Suitable for middle school and above students to understand perimeter formulas and geometric properties.

GeoGebra Commands & Parameters

  1. Textfield(a) → InputBox1
  2. Textfield(b) → InputBox2
  3. Textfield(c) → InputBox3
  4. Textfield(d) → InputBox4
  5. Textfield(f) → InputBox5
  6. Textfield(g) → InputBox6
  7. Intersect(xAxis, yAxis) → D
  8. Polygon(D, B, C, A) → q1, d_1, b_1, c_1, a_1
  9. Segment(D, B) → h
  10. Segment(B, C) → i
  11. Segment(C, A) → j
  12. Segment(A, D) → k
  13. If((2 * h) + (2 * i) ≟ (10 * f) + g, "√", "X") → text3
  14. Mode(l1) → l2
  15. Length(l2) → l
  16. If(l ≟ 0, "No digits repeat!", "You have repeated digits.") → text4

AI Drawing Prompt Reference

In a coordinate plane, use the intersection of the x- and y-axes as one vertex, then choose three additional points to form a rectangle, connecting the four points in order to draw the rectangle boundary. Draw the four sides as distinct line segments so the perimeter can be considered. Add input boxes for four rectangle-related parameters and an extra value used in a perimeter comparison, then place on-graph text that shows “√” if the perimeter-style equality holds, otherwise shows “X”. Also display a second message based on whether a chosen length value contains repeating digits.
The prompt above was compiled from the original drawing commands and is for reference only.