线性函数:输入变量x和输出变量y

线性函数:输入变量x和输出变量y
几何画板及绘图内容加载中,请稍等……
2016-05-03 18:21
这个范例演示了如何通过输入变量x和输出变量y来绘制线性函数的图像。涉及的核心数学概念包括线性函数、坐标几何和函数图像。作图要点使用了GeoGebra命令如Random、RandomElement、Simplify、Textfield、If、Invert、Coefficients、CoordPointertoAxes6、Min;对象包括list1、bneg、bpos、aneg、linf_4、linf_2、apos、linf_3、linf_1、listfn、n、linf、input1x、xval、input2y、count、InputBox1、InputBox2、button1、checkedanswer、answercorrecty、list2、button2、linfinv、yval、text9、text10、text12、list3、answercorrectx、text2、P_{xgiven}、P_{ygiven}、A、B、text5、text6、text7、text8、text14。适合初中及以上学生学习和复习线性函数的概念。

GeoGebra 命令及参数

  1. Random(-4, -1) → bneg
  2. Random(1, 5) → bpos
  3. Random(-5, -1) → aneg
  4. Random(1, 5) → apos
  5. RandomElement(list1) → n
  6. Simplify(Element[listfn, n]) → linf
  7. Random(-4, 4) → xval
  8. Textfield(input1x) → InputBox1
  9. Textfield(input2y) → InputBox2
  10. If(linf(xval) ≟ input2y(0), true, false) → answercorrecty
  11. Invert(linf) → linfinv
  12. Random(-3, 4) → yval
  13. Coefficients(linf) → list3
  14. If(linfinv(yval) ≟ input1x(0), true, false) → answercorrectx
  15. CoordPointertoAxes6(P_{ygiven}) → A, B, text5, text6, text7, text8, text14, u, v
  16. CoordPointertoAxes6(P_{xgiven}) → C, D, text15, text16, text17, text18, text19, w, a
  17. Min(Min[Min[yval, linf(xval)], -3] - abs((Min[yval, linf(xval)] * 0.5)), -3) → yMin