两点确定斜率
几何画板及绘图内容加载中,请稍等……
①本范例演示通过两点绘制直线并计算其斜率的图形现象;②涉及的核心数学概念为解析几何中的斜率计算公式;③作图要点提炼自构造摘要,用到了UnicodeToLetter, Random, If, LaTeX, Textfield等GeoGebra命令/对象;④适合高中阶段学习解析几何的学生使用。
GeoGebra 命令及参数
UnicodeToLetter(10007) → xmarkUnicodeToLetter(10003) → cmarkRandom(-15, 15) → x1Random(-15, 14) → x2tempIf(x2temp ≟ x1, x2temp + 1, x2temp) → x2Random(-15, 15) → y1Random(-15, 14) → y2tempIf(y2temp ≟ y1, y2temp + 1, y2temp) → y2LaTeX((((((((("\text{Point A } (" * x1) * ",") * y1) * ") \text{ and Point B } (") * x2) * ",") * y2) * ")")) → labelPointsTextfield(textX1) → ansBoxX1Textfield(textX2) → ansBoxX2Textfield(textY1) → ansBoxY1Textfield(textY2) → ansBoxY2Textfield(textRun) → ansBoxRunTextfield(textRise) → ansBoxRiseLaTeX((((((((((xmark * "\hspace{15}\dfrac{") * y2) * "-(") * y1) * ")}{") * x2) * "-(") * x1) * ")}")) → feedbackPart1LaTeX((((((xmark * "\hspace{15}\dfrac{") * (userY2 - userY1)) * "}{") * (userX2 - userX1)) * "}")) → feedbackPart2LaTeX("\text{\textbf{Question: }What is the slope of the line passing through the two given points?\\\textbf{Instructions: }Use the slope formula to calculate the slope.}") → TEXT