矩形和正方形的性质

矩形和正方形的性质
几何画板及绘图内容加载中,请稍等……
2021-08-31 20:16
本范例演示矩形和正方形的性质。核心数学概念包括几何性质、对称性、面积和周长计算。使用了If, Element, RemoveUndefined, Sort, Text, Join, Sequence, Max, Insert, Segment, Angle等GeoGebra命令。适合初中及以上学生学习几何作图和相关概念。

GeoGebra 命令及参数

  1. If(mixed, Shuffle[1…numberOfQuestions], 1…numberOfQuestions) → randomQuestions
  2. Element(randomQuestions, Mod[questionCount - 1, Length[randomQuestions]] + 1) → randomQuestion
  3. RemoveUndefined({RO1, If[optionsRight > 1, RO2], If[optionsRight > 2, RO3], If[optionsRight > 3, RO4], If[optionsRight > 4, RO5], If[optionsRight > 5, RO6]}) → ListeRichtig
  4. RemoveUndefined({If[optionsTotal - optionsRight > 0, FO1], If[optionsTotal - optionsRight > 1, FO2], If[optionsTotal - optionsRight > 2, FO3], If[optionsTotal - optionsRight > 3, FO4], If[optionsTotal - optionsRight > 4, FO5]}) → ListeFalsch
  5. Sort(Join[{ListeRichtig, ListeFalsch}], MCPosActual) → Reihenfolge
  6. Text(Reihenfolge(1), Corner[4] + (pixMat * (PosStart + (36, 16) + (((1 - 1) * disPixX), ((1 - 1) * disPixY)))), false, true, 1, 0) → txtO1
  7. Text(Reihenfolge(2), Corner[4] + (pixMat * (PosStart + (36, 16) + (((2 - 1) * disPixX), ((2 - 1) * disPixY)))), false, true, 1, 0) → txtO2
  8. Text(Reihenfolge(3), Corner[4] + (pixMat * (PosStart + (36, 16) + (((3 - 1) * disPixX), ((3 - 1) * disPixY)))), false, true, 1, 0) → txtO3
  9. Text(Reihenfolge(4), Corner[4] + (pixMat * (PosStart + (36, 16) + (((4 - 1) * disPixX), ((4 - 1) * disPixY)))), false, true, 1, 0) → txtO4
  10. Text(Reihenfolge(5), Corner[4] + (pixMat * (PosStart + (36, 18) + (((5 - 1) * disPixX), ((5 - 1) * disPixY)))), false, true, 1, 0) → txtO5
  11. Text(Reihenfolge(6), Corner[4] + (pixMat * (PosStart + (36, 18) + (((6 - 1) * disPixX), ((6 - 1) * disPixY)))), false, true, 1, 0) → txtO6
  12. If(optionsTotal < 1, true, txtO1 ∈ ListeRichtig ∧ option1 ∨ txtO1 ∈ ListeFalsch ∧ (¬option1)) → correctMC1
  13. If(optionsTotal < 2, true, txtO2 ∈ ListeRichtig ∧ option2 ∨ txtO2 ∈ ListeFalsch ∧ (¬option2)) → correctMC2
  14. If(optionsTotal < 3, true, txtO3 ∈ ListeRichtig ∧ option3 ∨ txtO3 ∈ ListeFalsch ∧ (¬option3)) → correctMC3
  15. If(optionsTotal < 4, true, txtO4 ∈ ListeRichtig ∧ option4 ∨ txtO4 ∈ ListeFalsch ∧ (¬option4)) → correctMC4
  16. If(optionsTotal < 5, true, txtO5 ∈ ListeRichtig ∧ option5 ∨ txtO5 ∈ ListeFalsch ∧ (¬option5)) → correctMC5
  17. If(optionsTotal < 6, true, txtO6 ∈ ListeRichtig ∧ option6 ∨ txtO6 ∈ ListeFalsch ∧ (¬option6)) → correctMC6
  18. Join({Sequence[Segment[Corner[4] + (RasterPixMat * ((k * RasterStepXY), 0)), Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY))], k, 0, RasterMaxX / RasterStepXY], Sequence[Segment[Corner[4] + (RasterPixMat * (0, (k * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], k, 0, RasterMaxY / RasterStepXY]}) → RasterStrecken
  19. Join({Sequence[Text[UnicodeToLetter[65 + k], Midpoint[Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY)), Corner[4] + (RasterPixMat * (((k + 1) * RasterStepXY), RasterMaxY))], false, true, 0, -1], k, 0, RasterMaxX / RasterStepXY - 1], Sequence[Text[("" * k), Midpoint[Corner[4] + (RasterPixMat * (RasterMaxX, ((k - 1) * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], false, true, 1, 0], k, 1, RasterMaxY / RasterStepXY]}) → RasterBeschriftung
  20. Sequence(Sequence[Corner[4] + (RasterPixMat * ((k * RasterStepXY), (m * RasterStepXY))), k, 0, RasterMaxX / RasterStepXY], m, 0, RasterMaxY / RasterStepXY) → RasterPunkte
  21. Max(x({Corner[txtO1, 2], Corner[txtO2, 2], Corner[txtO3, 2], Corner[txtO4, 2], Corner[txtO5, 2]})) → xMax
  22. Insert(MCPosActual(MCSwap(1)), Insert[MCPosActual(MCSwap(2)), Shuffle[Remove[1…optionsTotal, {MCPosActual(MCSwap(1)), MCPosActual(MCSwap(2))}]], If[IndexOf[MCPosActual(MCSwap(1)), MCPosActual] ≠ optionsTotal, IndexOf[MCPosActual(MCSwap(1)), MCPosActual], 5]], IndexOf[MCPosActual(MCSwap(2)), MCPosActual]) → MCPosNext
  23. If(correctMC, "\textsf{✓ Richtig}", (¬correctMC) ∧ (txtO1 ∈ ListeRichtig ∧ option1 ∨ txtO2 ∈ ListeRichtig ∧ option2 ∨ txtO3 ∈ ListeRichtig ∧ option3 ∨ txtO4 ∈ ListeRichtig ∧ option4 ∨ txtO5 ∈ ListeRichtig ∧ option5 ∨ txtO6 ∈ ListeRichtig ∧ option6), "\textsf{✘ Teilweise richtig}", "\textsf{✘ Falsch}") → txtMCFeedback
  24. If(optionsTotal ≟ 2, option1 ∧ option2, optionsTotal ≟ 3, option1 ∧ option2 ∧ option3, optionsTotal ≟ 4, option1 ∧ option2 ∧ option3 ∧ option4, optionsTotal ≟ 5, option1 ∧ option2 ∧ option3 ∧ option4 ∧ option5, option1 ∧ option2 ∧ option3 ∧ option4 ∧ option5 ∧ option6) → allSelected
  25. Text((("\textsf{" * If[txtO1 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC1(1), 2], Vertex[polyMC1(1), 3]] + (0, 0.05), false, true, 1, 0) → FB01
  26. Text((("\textsf{" * If[txtO2 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC2(1), 2], Vertex[polyMC2(1), 3]] + (0, 0.05), false, true, 1, 0) → FB02
  27. Text((("\textsf{" * If[txtO3 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC3(1), 2], Vertex[polyMC3(1), 3]] + (0, 0.05), false, true, 1, 0) → FB03
  28. Text((("\textsf{" * If[txtO4 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC4(1), 2], Vertex[polyMC4(1), 3]] + (0, 0.05), false, true, 1, 0) → FB04
  29. Text((("\textsf{" * If[txtO5 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC5(1), 2], Vertex[polyMC5(1), 3]] + (0, 0.05), false, true, 1, 0) → FB05
  30. Text((("\textsf{" * If[txtO6 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC6(1), 2], Vertex[polyMC6(1), 3]] + (0, 0.05), false, true, 1, 0) → FB06
  31. Sequence(Shuffle[1…(OptionsTotalList(k))], k, 1, numberOfQuestions) → MCPosMatrix, {{4, 3, 1, 2}, {3, 4, 1, 2}, {4, 2, 3, 1}, {3, 2, 4, 1}}
  32. If(randomQuestion < 3, 3.5, 2.5) → dimR1
  33. Segment(PosR, PosR + (dimR1, 0)) → segR1
  34. Segment(PosR + (dimR1, 0), PosR + (dimR1, dimR2)) → segR2
  35. Segment(PosR + (dimR1, dimR2), PosR + (0, dimR2)) → segR3
  36. Segment(PosR + (0, dimR2), PosR + (0, 0)) → segR4
  37. Angle(PosR + ((1 * dimR1), (0 * dimR2)), PosR + ((0 * dimR1), (0 * dimR2)), PosR + ((0 * dimR1), (1 * dimR2))) → angle1
  38. Angle(PosR + ((1 * dimR1), (1 * dimR2)), PosR + ((1 * dimR1), (0 * dimR2)), PosR + ((0 * dimR1), (0 * dimR2))) → angle2
  39. Angle(PosR + ((0 * dimR1), (1 * dimR2)), PosR + ((1 * dimR1), (1 * dimR2)), PosR + ((1 * dimR1), (0 * dimR2))) → angle3
  40. Angle(PosR + ((0 * dimR1), (0 * dimR2)), PosR + ((0 * dimR1), (1 * dimR2)), PosR + ((1 * dimR1), (1 * dimR2))) → angle4
  41. Segment(PosR, PosR + (dimR1, dimR2)) → segD1
  42. Segment(PosR + (dimR1, 0), PosR + (0, dimR2)) → segD2
  43. Angle(PosR + (dimR1, 0), Midpoint[PosR, PosR + (dimR1, dimR2)], PosR) → angle5

AI 绘图提示语参考

绘制一个矩形和一个正方形,展示它们的几何属性和对称性。在图形中添加网格线,并在每个网格交点处标注字母。在图形下方添加多个选项,并标注正确和错误的选项,以及对应的反馈信息。使用不同颜色区分正确和错误的选项,并在每个选项旁边显示对应的反馈信息。
以上提示语为根据原始绘图命令整理而来,仅供参考。