函数图像与多项式拟合示例
几何画板及绘图内容加载中,请稍等……
①本范例演示了如何通过 GeoGebra 绘制函数图像,并进行多项式拟合;②涉及的核心数学概念包括函数图像、二次函数、复数、幂函数、概率、自然数、随机实验、解析几何等;③作图要点——从下方『构造摘要』提炼用到了哪些 GeoGebra 命令/对象,如 Element, SelectedIndex, SelectedElement, First, FitPoly, Point, Translate, Vector, If, Segment, listStretchValue, listStretchText, k, listTransform, t, listNum, n, E, D, C, B, A, listPoint, f, P, listTranslateValue, listTranslateText, h, P', u, showPoints, f_{34}, P'', footP, P'''等;④适合高中数学教学,用于函数图像绘制、多项式拟合及复数应用的演示。
GeoGebra 命令及参数
Element(listStretchValue, SelectedIndex[listStretchText]) → kSelectedIndex(listTransform) → tSelectedElement(listNum) → nFirst({A, B, C, D, E}, n) → listPointFitPoly(listPoint, n - 1) → fPoint(f) → PElement(listTranslateValue, SelectedIndex[listTranslateText]) → hTranslate(P, Vector[If[t ≟ 1, (0, h), If[t ≟ 2, (h, 0)]]]) → P'Vector(P, P') → uIf(t ≟ 3, (-f(x)), If[t ≟ 4, f((-x))]) → f_{34}If(t ≟ 3, Mirror[P, y + (0 * z) = 0], If[t ≟ 4, Mirror[P, x + (0 * z) = 0]]) → P''Segment(P, Midpoint[P, P'']) → footPIf(t ≟ 5, (x(P), (k * y(P))), If[t ≟ 6, ((k * x(P)), y(P))]) → P'''Segment(P'', Midpoint[P, P'']) → footP''If(t ≟ 5, (x(P), 0), If[t ≟ 6, (0, y(P))]) → QTranslate(f, Vector[If[t ≟ 1, (0, h), If[t ≟ 2, (h, 0)]]]) → f_{12}If(t ≟ 5, (k * f(x)), If[t ≟ 6, f(x / k)]) → f_{56}If(¬showFunction, textGuess, If[t ≟ 1, text1, If[t ≟ 2, text2, If[t ≟ 3, text3, If[t ≟ 4, text4, If[t ≟ 5, text5, If[t ≟ 6, text6, ""]]]]]]) → textFunctionIf(t ≟ 1, textT1, If[t ≟ 2, textT2, If[t ≟ 5, textT5, If[t ≟ 6, textT6]]]) → textTransform