二次函数机器:输入输出与图像探索

二次函数机器:输入输出与图像探索
几何画板及绘图内容加载中,请稍等……
2020-11-14 01:28
① 本范例通过一个交互式“函数机器”演示二次函数 y = ax² + bx + c 的输入-输出过程,并将数值结果与函数图像动态关联。② 核心数学概念包括二次函数、函数映射、图像与代数表达式之间的对应关系,以及参数 a、b、c 对抛物线形状的影响。③ 作图要点:使用 GeoGebra 的 If、TableText、Textfield、InputBox 等命令构建输入面板和输出表格,通过 Element、Text、LaTeX 动态显示函数值,利用 RemoveUndefined 处理无效输入,并设置按钮(button1/2/3)控制重置、计算等交互,对象包括滑块、文本框、列表和函数图像。④ 适合初中至高中阶段学习二次函数的学生,也可用于教师课堂演示,帮助学生直观理解函数机器概念并巩固二次函数性质。

GeoGebra 命令及参数

  1. If(counter < 3, 0, RandomElement[{-3, -2, -1, 1, 2, 3}]) → b
  2. If(counter < 7, 0, RandomElement[{-5, -4, -3, -2, -1, 1, 2, 3, 4, 5}]) → c
  3. If(counter < 2, 1, If[counter < 3, RandomElement[{2, 3, -2, 5, -3}], If[counter < 9, RandomElement[{1, 2, 3}], RandomElement[{-1, -2}]]]) → a
  4. If(counter < 3, 1, GCD[{a, b, c}]) → d
  5. TableText({listxval}, "hc|_") → text7
  6. Textfield(ans1) → InputBox1
  7. Textfield(ans2) → InputBox2
  8. Textfield(ans3) → InputBox3
  9. Textfield(ans4) → InputBox4
  10. Textfield(ans5) → InputBox5
  11. TableText({" y ", " "}, "hc|_") → text8
  12. Expand(((a * x^(2)) + (b * x) + c) / d) → f
  13. Element(xinlist, ind) → xin
  14. Text("(" + xin + ")") → textFormulaValue
  15. LaTeX(f) → textFromFunction
  16. TextToUnicode(textFromFunction) → L_3
  17. TextToUnicode(textFormulaValue) → L_n
  18. Remove(Insert[L_n, L_3, IndexOf[120, L_3]], {120}) → L_4
  19. Remove(Insert[L_n, L_4, IndexOf[120, L_4]], {120}) → L_5
  20. Remove(Insert[L_n, L_5, IndexOf[120, L_5]], {120}) → L_6
  21. Remove(Insert[L_n, L_6, IndexOf[120, L_6]], {120}) → L_7
  22. Remove(Insert[L_n, L_7, IndexOf[120, L_7]], {120}) → L_8
  23. Remove(Insert[L_n, L_8, IndexOf[120, L_8]], {120}) → L_9
  24. RemoveUndefined({L_3, L_4, L_5, L_6, L_7, L_8, L_9}) → L_{10}
  25. Element(L_{10}, Length[L_{10}]) → L_{11}
  26. LaTeX("= " + (UnicodeToText[L_{11}]), true) → textEnumFunction

AI 绘图提示语参考

绘制一个二次函数机,输入x值,通过二次函数y=ax²+bx+c转换为输出y值,并显示对应的抛物线图形。设置a、b、c为随机整数,a从1或-1开始,b和c从-3到3或-5到5。创建输入框输入x值,计算并显示对应的y值,同时绘制出二次函数的抛物线。
以上提示语为根据原始绘图命令整理而来,仅供参考。