summaryrefslogtreecommitdiff
path: root/3860/CH2/EX2.21/Ex2_21.sce
blob: a68c11accb1a71195e15e76e6f1a6af6018acf63 (plain)
1
2
3
4
5
6
7
//Example 2.21: Reduce expression using Boolean laws ( Consensus Theorem)
clc // Clears the console
disp('g = bc'' + abd + acd ')
disp('the only consensus term defined is bc''$ acd = abd')
disp('g = bc'' + acd ')//removing consensus term

//the reduced expression is displayed.