练习7:随机函数图示
几何画板及绘图内容加载中,请稍等……
这个范例演示了随机生成的线性函数图示。核心数学概念包括线性函数和随机变量。通过使用Random, RandomElement, Textfield等GeoGebra命令,可以动态生成不同的线性函数图像。适合高中数学教学,特别是概率统计和线性函数部分。
GeoGebra 命令及参数
Random(-10, 10) → aRandom(-10, 10) → d_1RandomElement({-5, -4, -3, -2, -1, 1, 2, 3, 4, 5}) → a_1RandomElement({-5, -4, -3, -2, -1, 1, 2, 3, 4, 5}) → cRandom(-10, 10) → bTextfield(h) → InputBox1Random(-10, 10) → b_1Textfield(m) → InputBox2Textfield(g) → InputBox3Mirror(f_1, xAxis) → oTableText({{A1_1, D_1, B_1, C_1}, {-3, f_1(-3), g(-3), h(-3)}, {-2, f_1(-2), g(-2), h(-2)}, {-1, f_1(-1), g(-1), h(-1)}, {0, f_1(0), g(0), h(0)}, {1, f_1(1), g(1), h(1)}, {2, f_1(2), g(2), h(2)}, {3, f_1(3), g(3), h(3)}, {1, e, l, k}}, "|_r") → text3_1