证明论点真/假的真值表
有人可以帮我找出真值表吗?我想创建一个真值表来证明这是否属实。
Can someone help me out with truth tables? I would like to create a truth table to prove whether or not this is true.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
当 A=0、B=1 且 C=0 时,
A ∨ (B ∧ C) = A ∨ B) ∨ (A ∧ C) 为假。
When A=0, B=1 and C=0
So A ∨ (B ∧ C) = A ∨ B) ∨ (A ∧ C) is false.
对 A、B 和 C 的另外 7 个组合执行类似操作。
如果您发现所有 8 个组合的结果都相同,则证明了这一点。否则就不一样了。
另请访问真值表的维基百科条目了解详细信息。应用部分包含另一个方程的示例证明。
注意:听起来像是一项家庭作业。所以不提供完整的解决方案。
Do the similar for the 7 more combination of A, B and C.
If you find both end same for all the eight then that is proved. Otherwise the are not same.
Also visit the Wikipedia entry for truth table for the details. Application section contains an example proof of another equation.
Note: Sounds like a homework. So not providing the full solution.
您只有三个布尔变量,这意味着 2^3=8 个条目真值表就足够了。我建议分解表中的列以一次生成一个布尔结果。如果你的布尔方程两边的两列匹配,你就证明它们是相同的,否则你将有一个或多个反例。
如果两个表达式匹配,那么您可以尝试使用布尔代数规则来证明它们相等。卡诺图甚至可以用来指路。
You only have three boolean variables, which means a 2^3=8 entry truth table will suffice. I suggest breaking down columns in your table to produce one boolean result at a time. If the two columns of the two sides of your boolean equation match, them you proved they are the same, otherwise you will have one or more counter-examples.
If the two expressions match, then you can try to prove they are equal using the rules of Boolean algebra. Karnaugh maps could even be used to point the way.