两点确定斜率

两点确定斜率
几何画板及绘图内容加载中,请稍等……
2019-02-08 01:00
①本范例演示通过两点绘制直线并计算其斜率的图形现象;②涉及的核心数学概念为解析几何中的斜率计算公式;③作图要点提炼自构造摘要,用到了UnicodeToLetter, Random, If, LaTeX, Textfield等GeoGebra命令/对象;④适合高中阶段学习解析几何的学生使用。

GeoGebra 命令及参数

  1. UnicodeToLetter(10007) → xmark
  2. UnicodeToLetter(10003) → cmark
  3. Random(-15, 15) → x1
  4. Random(-15, 14) → x2temp
  5. If(x2temp ≟ x1, x2temp + 1, x2temp) → x2
  6. Random(-15, 15) → y1
  7. Random(-15, 14) → y2temp
  8. If(y2temp ≟ y1, y2temp + 1, y2temp) → y2
  9. LaTeX((((((((("\text{Point A } (" * x1) * ",") * y1) * ") \text{ and Point B } (") * x2) * ",") * y2) * ")")) → labelPoints
  10. Textfield(textX1) → ansBoxX1
  11. Textfield(textX2) → ansBoxX2
  12. Textfield(textY1) → ansBoxY1
  13. Textfield(textY2) → ansBoxY2
  14. Textfield(textRun) → ansBoxRun
  15. Textfield(textRise) → ansBoxRise
  16. LaTeX((((((((((xmark * "\hspace{15}\dfrac{") * y2) * "-(") * y1) * ")}{") * x2) * "-(") * x1) * ")}")) → feedbackPart1
  17. LaTeX((((((xmark * "\hspace{15}\dfrac{") * (userY2 - userY1)) * "}{") * (userX2 - userX1)) * "}")) → feedbackPart2
  18. LaTeX("\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