summaryrefslogtreecommitdiff
path: root/3860/CH2/EX2.18/Ex2_18.sce
blob: f26b41e4ef1369fd01bbf5a8248c51a01476ecc8 (plain)
1
2
3
4
5
//Example 2.18: Reduce expression using Boolean laws
clc // Clears the console
disp('(a + b'' + c)(a + c'')(a'' + b''+ c)( a + c + d)')
disp('=(b'' + c)(a + c'')( a + d'')')
//the reduced expression is displayed.