探索直线方程y=mx+b
几何画板及绘图内容加载中,请稍等……
本范例演示直线方程y=mx+b与其图形之间的关系。核心数学概念包括直线方程、斜率和截距。使用了Polygon, UnicodeToLetter, Numerator, Denominator, LaTeX, If等命令。适合初中及以上学生学习直线方程和几何作图。
GeoGebra 命令及参数
Polygon((-6.3, -20.8), (-6.3, 20.8), (6.3, 20.8), (6.3, -20.8)) → viewBox, g, h, i, jUnicodeToLetter(10007) → xmarkUnicodeToLetter(10003) → cmarkNumerator(m) → riseDenominator(m) → runLaTeX("\text{\textbf{Question: } How do the values of \(m\) and \(b\) change the properties of a line?\\\textbf{Instructions: } Move the sliders for \(m\) and \(b\) to help you recall how their values affect\\the properties of a line.}") → TEXTPolygon(intercept, point2, (x(point2), y(intercept))) → t1, hypotenuse, riseLine, runLineLaTeX(("b=" * b)) → bCaptionLaTeX(rise) → riseLabelLaTeX(run) → runLabelIf(rise < 0, (-0.2, 1.3), (-0.2, -0.2)) → runOffsetLaTeX(("\vphantom{\dfrac{1}{2}}m=" * NumToImproperFrac[m])) → mCaption