分配律演示

分配律演示
几何画板及绘图内容加载中,请稍等……
2019-01-16 23:19
①本范例演示多项式分配律的几何直观与代数验证;②涉及核心数学概念为分配律、多项式展开、随机多项式生成;③构造中运用了If、Random、Polynomial、Expand、LaTeX命令及对象如monomial1, poly1, expand等;④适合高中数学教学,用于理解代数运算的几何意义和随机性。

GeoGebra 命令及参数

  1. If(Random[0, 1] ≟ 0, Random[-5, -1], Random[2, 5]) → monomial1
  2. If(Random[0, 1] ≟ 0, Random[-5, -1], Random[2, 5]) → monomial2
  3. If(Random[0, 1] ≟ 0, Random[-5, -1], Random[1, 5]) → poly1coeff1
  4. If(Random[0, 1] ≟ 0, Random[-5, -1], Random[1, 5]) → poly1coeff3
  5. If(Random[0, 1] ≟ 0, Random[-5, -1], Random[1, 5]) → poly1coeff4
  6. Random(-5, 5) → poly2coeff1
  7. Random(-5, 5) → poly1coeff2
  8. Polynomial((poly1coeff1 * x^(3)) + (poly1coeff2 * x^(2)) + (poly1coeff3 * x) + poly1coeff4) → poly1
  9. If(Random[0, 1] ≟ 0, Random[-5, -1], Random[1, 5]) → poly2coeff2
  10. Random(-5, 5) → poly2coeff3
  11. If(Random[0, 1] ≟ 0, Random[-5, -1], Random[1, 5]) → poly2coeff4
  12. Polynomial((poly2coeff1 * x^(3)) + (poly2coeff2 * x^(2)) + (poly2coeff3 * x) + poly2coeff4) → poly2
  13. Expand(sum) → correctAnswer
  14. Polynomial((x3coeff * x^(3)) + (x2coeff * x^(2)) + (x1coeff * x) + x0coeff) → userAnswer
  15. LaTeX((((("\text{" * QUESTION) * "\\") * INSTRUCTIONS) * "}")) → TEXT
  16. LaTeX(sum) → expression
  17. LaTeX(Expand[monPoly1] + Expand[monPoly2]) → distribute
  18. LaTeX((x0coeff * "\vphantom{x^3}")) → x0Label
  19. LaTeX((x1coeff * "x\vphantom{x^3}")) → x1Label
  20. LaTeX((x2coeff * "x^2")) → x2Label
  21. LaTeX((x3coeff * "x^3")) → x3Label