编写一元一次不等式应用题

编写一元一次不等式应用题
几何画板及绘图内容加载中,请稍等……
2023-03-21 09:00
本范例通过创建游乐园一天中的实际应用题,演示如何根据一元一次不等式编写应用题。涉及的核心数学概念是一元一次不等式及其在实际情境中的应用。构造过程中用到了GeoGebra命令如Shuffle、Element、RemoveUndefined、Zip、Append、If、Polygon、Corner、centerBox、Text、Sequence、IndexOf、SelectedIndex、onboardingTextOffset,以及对象randomNames、randomXVals、possibleOrdersA、randomCase、randomYVals、space2、space1、countQuestion、name、movingIndex、P3、P2、P1、movingPoints、PMove、valY、validX、valX、valDiff、homeIndices、textStrCurrent、boxText、currentLocations、questionA3、questionC3、questionD3、caseNum、expectedAns、order、studentAns、questionA1、questionA2、questionB2、questionB1、questionB3、questionC1、questionC2、questionD1、questionD2、currentQuestions。适合6-8年级学生学习如何将数学概念应用于实际问题。

GeoGebra 命令及参数

  1. Shuffle({"Anara", "Leandro", "Viktoria", "Mari", "Elias", "Domenic"}) → randomNames, {"Leandro", "Anara", "Domenic", "Elias", "Mari", "Viktoria"}
  2. Shuffle(Sequence[42, 55]) → randomXVals, {54, 42, 46, 49, 47, 51, 44, 50, 45, 48, 52, 55, 43, 53}
  3. Shuffle({{1, 2, 3}, {1, 3, 2}, {2, 1, 3}, {2, 3, 1}, {3, 1, 2}, {3, 2, 1}}) → possibleOrdersA, {{1, 3, 2}, {3, 1, 2}, {2, 1, 3}, {3, 2, 1}, {1, 2, 3}, {2, 3, 1}}
  4. Shuffle(Sequence[1, 4]) → randomCase, {3, 2, 1, 4}
  5. Shuffle({46, 48, 50, 52, 54, 56}) → randomYVals, {56, 50, 54, 48, 52, 46}
  6. Element(movingPoints, movingIndex) → PMove
  7. Element(randomYVals, Mod[countQuestion, Length[randomYVals]] + 1) → valY
  8. RemoveUndefined(Zip[If[A < valY, A], A, randomXVals]) → validX
  9. Element(validX, Mod[countQuestion, Length[validX]] + 1) → valX
  10. Element(possibleOrdersA, Mod[countQuestion, Length[possibleOrdersA]] + 1) → homeIndices
  11. Zip(Element[{("" * valX), ("" * valY), ("" * valDiff)}, A], A, homeIndices) → textStrCurrent
  12. Zip(Text[("" * A), B, true, true, 0, 0], A, textStrCurrent, B, movingPoints) → boxText
  13. Element(randomCase, Mod[countQuestion, Length[randomCase]] + 1) → caseNum
  14. Element({{1, 2}, {2, 1}, {1, 2}, {2, 1}}, caseNum) → expectedAns
  15. Element(possibleOrdersA, Mod[countQuestion, Length[possibleOrdersA]] + 1) → order
  16. Zip(homeIndices(IndexOf[A, currentLocations]), A, {1, 2}) → studentAns
  17. Element({{questionA1, questionA2, questionA3}, {questionB1, questionB2, questionB3}, {questionC1, questionC2, questionC3}, {questionD1, questionD2, questionD3}}, caseNum) → currentQuestions
  18. Append("$\text\phantom{this is an empty line}$", Zip[(("$\text{" * currentQuestions(A)) * " }$"), A, order]) → selectQuestion
  19. If(SelectedIndex[selectQuestion] ≠ 1, order(SelectedIndex[selectQuestion] - 1), NaN) → selectedQuestion
  20. Element(positions, caseNum) → boxAnchors
  21. If(caseNum < 5, "", "^2") → power
  22. Append(studentAns, selectedQuestion) → inputCurrent
  23. Polygon(Zip[PixelsToPoint[Corner[1], Corner[3], Corner[5], A], A, {(pixelsLeft, pixelsTop), (pixelsLeft, y(Corner[5]) - pixelsBottom), Corner[5] - (pixelsRight, pixelsBottom), (x(Corner[5]) - pixelsRight, pixelsTop)}]) → borderBox
  24. Corner(5) → layoutAppSize
  25. centerBox(innerSize, innerSize, P1) → box1
  26. centerBox(innerSize, innerSize, P2) → box2
  27. centerBox(innerSize, innerSize, P3) → box3
  28. centerBox(innerSize, innerSize, PMove) → highlightBox
  29. Zip(HOME, A, movingPoints) → allHome
  30. Text(("" * boxText(movingIndex)), If[Defined[PMove], PMove, (300, 300)], false, true, 0, 0) → textHighlight
  31. Sequence((("SetFixed(box" * A) * ",false,enableInput)"), A, 1, Length[movingPoints]) → cmdFixBoxes
  32. Sequence((((((((("SetValue(P" * A) * ",If(currentLocations(") * A) * ")==HOME,homeLocations(") * A) * "),boxAnchors(currentLocations(") * A) * "))))"), A, 1, Length[movingPoints]) → cmdOrganize
  33. centerBox(boxWidth, boxHeight, boxAnchors(1)) → frame1
  34. centerBox(boxWidth, boxHeight, boxAnchors(2)) → frame2
  35. Sequence(HomeAnchor + (((A * 1.5) * boxWidth), 0), A, 0, Length[movingPoints] - 1) → homeLocations
  36. IndexOf(true, Zip[IsInRegion[PMove, A], A, {frame1, frame2}]) → locationPMove
  37. Element({{questionA1, questionA2, questionA3}, {questionB1, questionB2, questionB3}, {questionC1, questionC2, questionC3}, {questionD1, questionD2, questionD3}}, caseNum) → line3Options
  38. SelectedIndex(selectQuestion) → test
  39. centerBox(boxWidth, boxWidth, boxAnchors(locationPMove)) → highlightFrame
  40. onboardingTextOffset(Corner[onboardingText, 1], Corner[onboardingText, 3], onboardingCase, Corner[1], Corner[3], Corner[5]) → OnboardingTextOffset
  41. Zip(expandQuad[Vertex[A, 1], Vertex[A, 2], Vertex[A, 3], Vertex[A, 4], (pulsing * 7), Corner[1], Corner[3], Corner[5]], A, {box1, box2, box3}) → pulsingObjects

AI 绘图提示语参考

制作一个“摁按钮解一元一次不等式”的练习界面风格图形:先生成若干随机姓名、横纵坐标数值与题目排列顺序,用作动态文本内容。画出两块等大小的矩形题框并居中布局,同时在其中一块显示高亮外框与阴影提示框。再在高亮位置放入一个移动点对应的文字高亮(来源于随机的选项文本),并在上方用带空行的公式/选项文本展示当前题目;下方放置供输入的答题字符串。用一条外边框围出整个题框区域,在高亮时叠加选中边框,并让文字依框内容变化。
以上提示语为根据原始绘图命令整理而来,仅供参考。