2014-03-28 71 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); 

希望這有助於爲您解決其他問題..