Perimeter and Area of a Rectangle

Perimeter and Area of a Rectangle
Loading the math board and drawing, please wait…
2018-12-13 00:13
This example demonstrates the calculation of the perimeter and area of a rectangle. Key mathematical concepts include the properties of a rectangle, formulas for area and perimeter. Using GeoGebra commands such as Length, Polygon, and Segment, the construction process of the rectangle is dynamically shown. Suitable for middle school and above students to learn geometric construction and area/perimeter calculations.

GeoGebra Commands & Parameters

  1. LaTeX("\text{ Swimming Area\\ Width (m) }") → A1
  2. Length(xValuesToUse) → numVals
  3. UnicodeToLetter(10007) → xmark
  4. UnicodeToLetter(10003) → cmark
  5. Textfield(D6) → C6
  6. Textfield(D4) → C4
  7. Textfield(D5) → C5
  8. LaTeX("\text{ Total Rope \\ Length (m)}") → B1
  9. Textfield(D3) → C3
  10. Sequence(LaTeX[If[i ≟ 0, ("\cellcolor{#ffcc80}" * A1), ("\cellcolor{#eeeeee}\vphantom{\dfrac{1}{2}}" * Element[xValuesToUse, i])]], i, 0, numInputs) → tblCol1
  11. Sequence(LaTeX[If[i ≟ 0, ("\cellcolor{#ffcc80}" * B1), ("\cellcolor{#eeeeee}" * Element[B2:B7, i])]], i, 0, numInputs) → tblCol2
  12. Polygon(A, B, 4) → swimmingArea, h, k, l, m, C, D
  13. Segment(E, F) → n
  14. Textfield(D2) → C2
  15. LaTeX(If[Defined[E2], If[F2, (("\text{\textcolor{#1C5E21}{" * cmark) * "}}"), (("\text{\textcolor{#E41B17}{" * xmark) * "}}")], " "]) → G2
  16. LaTeX(If[Defined[E3], If[F3, (("\text{\textcolor{#1C5E21}{" * cmark) * "}}"), (("\text{\textcolor{#E41B17}{" * xmark) * "}}")], " "]) → G3
  17. LaTeX(If[Defined[E4], If[F4, (("\text{\textcolor{#1C5E21}{" * cmark) * "}}"), (("\text{\textcolor{#E41B17}{" * xmark) * "}}")], " "]) → G4
  18. LaTeX(If[Defined[E5], If[F5, (("\text{\textcolor{#1C5E21}{" * cmark) * "}}"), (("\text{\textcolor{#E41B17}{" * xmark) * "}}")], " "]) → G5
  19. LaTeX(If[Defined[E6], If[F6, (("\text{\textcolor{#1C5E21}{" * cmark) * "}}"), (("\text{\textcolor{#E41B17}{" * xmark) * "}}")], " "]) → G6
  20. Sequence(LaTeX[If[i ≟ 1, (("\vphantom{" * A1) * "}"), "\vphantom{\dfrac{\frac{1}{2}}{2}}"]], i, 0, numInputs) → tblColvPhantom
  21. TableText({tblCol1, tblCol2}, "|_ vc") → DisplayTbl
  22. Sequence((("SetValue(D" * i) * ",blankStr)"), i, 2, numInputs + 1) → cmdEmptyInput
  23. Polygon(G, H, I, J) → coverGraph, g_1, h_1, i_1, j_1
  24. Textfield(D7) → C7
  25. LaTeX((((("\text{\textbf{Question: }" * MainInstruc) * "\\\textbf{Instructions: }") * SpecInstruc) * "}")) → allInstruc
  26. Zip(Text[A, B, true, true], A, {"x", "y"}, B, {(17, 2), (0, 44)}) → axisLbls
  27. TableText({tblColvPhantom, G1:G7}, "vc") → checkTbl
  28. LaTeX(If[Defined[E7], If[F7, (("\text{\textcolor{#1C5E21}{" * cmark) * "}}"), (("\text{\textcolor{#E41B17}{" * xmark) * "}}")], " "]) → G7
  29. Zip((A, B), A, xValuesToUse, B, B2:B7) → pointsToPlot