summaryrefslogtreecommitdiff
path: root/991/CH24/EX24.14/Example24_14.sce
blob: 73ad07d3eedc4a8a25d1aad4dfcdc00c5bfa9d08 (plain)
1
2
3
4
5
6
7
8
9
10
//example 24.14
clc;
disp('The kanaurgh map for given truth table will be :');
disp('      A''B''  A''B  AB  AB'''); //displaying the given kmap
disp('C''     1    0    0   1');
disp('C      0    1    1   0');
disp("The adjacent cells that can be combined together are cells 000 and 100 and the cells 011 and 111");
disp("By combining the adjacent cells, we get")
disp("      Y = (A''+A)B''C'' + (A''+A)BC")
disp("        = B''C'' + BC")