summaryrefslogtreecommitdiff
path: root/3860/CH2/EX2.15/Ex2_15.sce
blob: 3538be05a2d431ffc88b1da097705eb0bd76c3f8 (plain)
1
2
3
4
5
//Example 2.15: Reduce expression using Boolean laws
clc // Clears the console
disp('xyz + x''y + x''y'' = xyz + x''')
disp('                 = x'' + yz ')
//the reduced expression is displayed.