逻辑电路 OR 门演示

逻辑电路 OR 门演示
几何画板及绘图内容加载中,请稍等……
2013-05-26 04:33
①本范例演示了逻辑电路中的 OR 门(或门)的图形化表示与真值表;②涉及的核心数学概念包括逻辑运算、布尔代数、集合运算;③作图要点——从下方『构造摘要』提炼用到了 Segment(线段)、Midpoint(中点)、Circle(圆)、TableText(表格文本)、Element(元素)等 GeoGebra 命令/对象;④适合小学五年级及以上学生,用于理解基础逻辑电路和布尔代数。

GeoGebra 命令及参数

  1. Segment(B_0, If[w1, B_1, C_4]) → l_1
  2. Midpoint(A_4, A_5) → L
  3. Segment(C_0, If[w2, C_1, C_3]) → l_2
  4. Circle(L, 0.5) → c
  5. Segment(L - (sqrt(2) / 4, sqrt(2) / 4), L + (sqrt(2) / 4, sqrt(2) / 4)) → k_1
  6. Segment(L - (sqrt(2) / 4, (-sqrt(2)) / 4), L + (sqrt(2) / 4, (-sqrt(2)) / 4)) → k_2
  7. Segment(A_3, A_2) → d
  8. Segment(A_4, A_5) → f
  9. Segment(A_5, G) → g
  10. Segment(A_2, A_1) → h
  11. Circle(L, 0.5) → c_2
  12. Segment(H_1, H_2) → h_1
  13. Segment(G_1, G_2) → h_2
  14. Segment(A_6, A_3) → b
  15. Segment(A_7, A_9) → i
  16. Segment(A_7, B_0) → j
  17. Segment(A_9, C_0) → k
  18. Segment(B_1, A_8) → a
  19. Segment(C_1, A_{10}) → e
  20. Midpoint(A_8, A_{10}) → A_{11}
  21. Segment(A_8, A_{10}) → l
  22. Segment(A_{11}, A_4) → m
  23. TableText({{LaTeX["S_1"], LaTeX["S_2"], LaTeX[Element[lampLit, n]]}, {LaTeX[If[w1 ∧ w2, "\mathbf", ""] + (Element[einList, n])], LaTeX[If[w1 ∧ w2, "\mathbf", ""] + (Element[einList, n])], LaTeX[If[w1 ∧ w2, "\mathbf", ""] + (Element[jaList, n])]}, {LaTeX[If[w1 ∧ (¬w2), "\mathbf", ""] + (Element[einList, n])], LaTeX[If[w1 ∧ (¬w2), "\mathbf", ""] + (Element[ausList, n])], LaTeX[If[w1 ∧ (¬w2), "\mathbf", ""] + (Element[jaList, n])]}, {LaTeX[If[(¬w1) ∧ w2, "\mathbf", ""] + (Element[ausList, n])], LaTeX[If[(¬w1) ∧ w2, "\mathbf", ""] + (Element[einList, n])], LaTeX[If[(¬w1) ∧ w2, "\mathbf", ""] + (Element[jaList, n])]}, {LaTeX[If[(¬w1) ∧ (¬w2), "\mathbf", ""] + (Element[ausList, n])], LaTeX[If[(¬w1) ∧ (¬w2), "\mathbf", ""] + (Element[ausList, n])], LaTeX[If[(¬w1) ∧ (¬w2), "\mathbf", ""] + (Element[neinList, n])]}}, "|_c") → text1
  24. Element(truthTable, n) → text3

AI 绘图提示语参考

画一个逻辑或门电路的图形,包含输入和输出线段,一个表示灯泡的圆圈,以及一个表格显示真值表。输入线段之间用线段连接,灯泡圆圈位于输入线段的中点,表格包含四行三列,分别表示不同输入组合下的输出状态,用加粗字体标示输出结果。
以上提示语为根据原始绘图命令整理而来,仅供参考。