线性函数:输入变量x和输出变量y
几何画板及绘图内容加载中,请稍等……
这个范例演示了如何通过输入变量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 命令及参数
Random(-4, -1) → bnegRandom(1, 5) → bposRandom(-5, -1) → anegRandom(1, 5) → aposRandomElement(list1) → nSimplify(Element[listfn, n]) → linfRandom(-4, 4) → xvalTextfield(input1x) → InputBox1Textfield(input2y) → InputBox2If(linf(xval) ≟ input2y(0), true, false) → answercorrectyInvert(linf) → linfinvRandom(-3, 4) → yvalCoefficients(linf) → list3If(linfinv(yval) ≟ input1x(0), true, false) → answercorrectxCoordPointertoAxes6(P_{ygiven}) → A, B, text5, text6, text7, text8, text14, u, vCoordPointertoAxes6(P_{xgiven}) → C, D, text15, text16, text17, text18, text19, w, aMin(Min[Min[yval, linf(xval)], -3] - abs((Min[yval, linf(xval)] * 0.5)), -3) → yMin