一元一次方程实例

一元一次方程实例
几何画板及绘图内容加载中,请稍等……
2015-07-09 20:59
本范例演示如何将文字描述转换为数学方程。核心数学概念是一元一次方程。作图要点包括使用 If 语句、LaTeX、Corner、FractionText 和 TableText 命令。适合初中数学教学。

GeoGebra 命令及参数

  1. If(operation1 ≟ "sum", equals - simplen, equals + simplen) → newEqualsn
  2. LaTeX(steps) → counter
  3. LaTeX("\text{Use the buttons below to return to the original problem or}\cr\text{randomly generate a similar practice problem.}") → RandomizationText
  4. Corner(1) → A
  5. Corner(3) → B
  6. LaTeX("\text{Apply the Distributive Property.}") → text1
  7. LaTeX("\text{Isolate the variable in the resulting equation.}") → text8
  8. FractionText(simplen) → simple
  9. LaTeX((((((((((((((((((((((("\text{" * numWord) * " ") * denWord) * " of the ") * operation1) * " of a number ") * operation2) * " ") * add) * " is ") * equals) * "}\cr\textcolor{#000099}{\frac{") * num) * "}{") * denom) * "}\left(x") * operation3) * "") * add) * "\right)=") * equals) * "}")) → Problem
  10. LaTeX((((("\text{The Distributive Property states that }\textcolor{#000099}{a(b " * operation3) * " c) = ab ") * operation3) * " ac}.")) → text2
  11. LaTeX((((((((((((((("\text{For }\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}\left(x") * operation3) * "") * add) * "\right)=") * equals) * "}\text{ each of the terms in parentheses needs to be multiplied by }\textcolor{#000099}{\frac{") * num) * "}{") * denom) * "}}.")) → text3
  12. LaTeX((("\text{Apply the " * operation4) * " Property of Equality.}")) → text10
  13. FractionText(newEqualsn) → newEquals
  14. LaTeX((((((((("\text{In order to isolate the variable, the term }\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x}\text{ must first be isolated. Look at the}\cr\text{operation being used on the term with }\textcolor{#000099}{\frac{") * num) * "}{") * denom) * "}x}\text{, and use the opposite operation to}\cr\text{isolate the term. }")) → text9
  15. FractionText(xvaln) → xval
  16. LaTeX((((((((((((("\text{The value for }\textcolor{#000099}{x}\text{ in }\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}\left(x") * operation3) * "") * add) * "\right)=") * equals) * "}\text{ is }\textcolor{#000099}{") * xval) * "}.")) → text18
  17. LaTeX((((((("\text{By " * operation5) * " }\textcolor{#000099}{") * simple) * "}\text{ ") * operationPrep) * " both sides of the equation, both sides of the equation will}\cr\text{remain equal, but the term containing the variable }\textcolor{#000099}{x}\text{ will be isolated.}")) → text11
  18. TableText({{LaTeX[(((((((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}\left(x") * operation3) * "") * add) * "\right)=") * equals) * "}")], LaTeX["\text{Original equation}"]}, {LaTeX[(((((((((((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x ") * operation3) * " \frac{") * num) * "}{") * denom) * "}(") * add) * ")=") * equals) * "}")], LaTeX["\text{Distribute.}"]}, {LaTeX[(((((((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x ") * operation3) * " ") * simple) * "=") * equals) * "}")], LaTeX["\text{Simplify.}"]}}, "l") → text6
  19. LaTeX((((((((((("\text{Once the Distributive Property is applied, the resulting equation is }\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x ") * operation3) * " ") * simple) * "=") * equals) * ".}")) → text7
  20. TableText({{LaTeX[(((((((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x ") * operation3) * " ") * simple) * "=") * equals) * "}")], LaTeX["\text{Equation from the previous step}"]}, {LaTeX[(((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x =") * newEquals) * "}")], LaTeX[(((((("\text{" * operation6) * " }\textcolor{#000099}{") * simple) * "}\text{ ") * operationPrep) * " both sides of the equation.}")]}}, "l") → text13
  21. LaTeX((((("\text{In order to isolate }\textcolor{#000099}{x}\text{ from the term }\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x}\text{, apply the Multiplication Property of Equality.}")) → text14
  22. TableText({{LaTeX[(((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x =") * newEquals) * "}")], LaTeX["\text{Equation from the previous step}"]}, {LaTeX[(("\textcolor{#000099}{x =" * xval) * "}")], LaTeX[(((("\text{Multiply both sides by the reciprocal, }\textcolor{#000099}{\frac{" * denom) * "}{") * num) * "}.}")]}}, "l") → text17
  23. TableText({{LaTeX[(((((((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}\left(x") * operation3) * "") * add) * "\right)=") * equals) * "}")], LaTeX["\text{Original equation}"]}}, "l") → text4
  24. TableText({{LaTeX[(((((((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}\left(x") * operation3) * "") * add) * "\right)=") * equals) * "}")], LaTeX["\text{Original equation}"]}, {LaTeX[(((((((((((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x ") * operation3) * " \frac{") * num) * "}{") * denom) * "}(") * add) * ")=") * equals) * "}")], LaTeX["\text{Distribute.}"]}}, "l") → text5
  25. TableText({{LaTeX[(((((((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x ") * operation3) * " ") * simple) * "=") * equals) * "}")], LaTeX["\text{Equation from the previous step}"]}}, "l") → text12
  26. TableText({{LaTeX[(((((("\textcolor{#000099}{\frac{" * num) * "}{") * denom) * "}x =") * newEquals) * "}")], LaTeX["\text{Equation from the previous step}"]}}, "l") → text16
  27. LaTeX("\text{Move the slider to solve the problem.}") → text0
  28. LaTeX((((((((("\text{By multiplying both sides of the equation by }\textcolor{#000099}{\frac{" * denom) * "}{") * num) * "}}\text{ (the reciprocal of }\textcolor{#000099}{\frac{") * num) * "}{") * denom) * "}}\text{), both sides}\cr\text{of the equation will remain equal, but the }\textcolor{#000099}{x}\text{ will be isolated.}")) → text15

AI 绘图提示语参考

展示线性方程的解题过程,包括应用分配律和等式性质化简方程,并最终求解变量x。用不同颜色标注关键步骤和公式,用表格对比各步骤的方程变化,并添加文字说明每一步的操作。初始方程为分数形式的变量乘积,通过分配律展开后化简,最后通过等式性质求解x的值。
以上提示语为根据原始绘图命令整理而来,仅供参考。