2014-03-28 70 views
-2

所以,我有几个这样的问题。我只需要帮助其中之一。你也可以解释你如何得到答案。我将非常感谢布尔代数简化

向b(!c)显示ab(!c)+!ab(!c)的代数简化。

+1

如果你正在寻找这将解决它在Java中,则表现出一定的功夫的程序。如果你只是想简化它,那么你在错误的网站,因为它只是数学。请点击此处:http://sce.umkc.edu/~hieberm/281_new/lectures/forms-of-bool-expressions/forms-of-exprs.html以及http://sce.umkc.edu/~hieberm/ 281_new/lectures/simplification/simplification.html – NeplatnyUdaj

+0

感谢这些链接非常有帮助。 – user3446963

回答

0

我已根据您的需求创建了三个变量,并选择了随机值。

boolean a=true; 
boolean b=false; 
boolean c=true; 

boolean res1; 
boolean res2; 
boolean final_Res; 

res1=(a && b) &&(!c) || (!a && b && !c); 
res2=(b && !c); 
final_Res=res1==res2; 
System.out.println(final_Res); 

希望这有助于为您解决其他问题..