diff options
Diffstat (limited to '3860/CH3/EX3.40')
-rw-r--r-- | 3860/CH3/EX3.40/Ex3_40.sce | 21 | ||||
-rw-r--r-- | 3860/CH3/EX3.40/Ex3_40.txt | 36 |
2 files changed, 57 insertions, 0 deletions
diff --git a/3860/CH3/EX3.40/Ex3_40.sce b/3860/CH3/EX3.40/Ex3_40.sce new file mode 100644 index 000000000..509c5c324 --- /dev/null +++ b/3860/CH3/EX3.40/Ex3_40.sce @@ -0,0 +1,21 @@ +//Example 3.40 Simplify expression using k-map
+clc; //clears the console window
+clear; //clears the variable browser
+disp('F = m(2,3,4,6,9,11,12)+ d(0,1,14,15)')
+disp(' C''D'' C''D CD CD''')
+disp('A''B'' X 1 1 0')
+disp('A''B X 0 0 1')
+disp('AB 1 0 X 1')
+disp('AB'' 1 1 X 0') //The kmap for F is displayed//
+disp('G = m(2,3,4,6,9,11,12)+ d(0,1,14,15)')
+disp(' C''D'' C''D CD CD''')
+disp('A''B'' X 0 1 0')
+disp('A''B X 0 0 0')
+disp('AB 0 0 X 1')
+disp('AB'' 1 1 X 1') //The kmap for G is displayed//
+disp('The one solution for F and G:')
+disp('F = B''D + ABD''+ A''D''')
+disp('G = AC + ABD''+ CD''')
+disp('The other solution for F and G: ')
+disp('F = B''D + A''CD'' + BD''')
+disp('G = AC + ABD'' + A''CD''')
diff --git a/3860/CH3/EX3.40/Ex3_40.txt b/3860/CH3/EX3.40/Ex3_40.txt new file mode 100644 index 000000000..2b71d6f2d --- /dev/null +++ b/3860/CH3/EX3.40/Ex3_40.txt @@ -0,0 +1,36 @@ +
+ F = m(2,3,4,6,9,11,12)+ d(0,1,14,15)
+
+ C'D' C'D CD CD'
+
+ A'B' X 1 1 0
+
+ A'B X 0 0 1
+
+ AB 1 0 X 1
+
+ AB' 1 1 X 0
+
+ G = m(2,3,4,6,9,11,12)+ d(0,1,14,15)
+
+ C'D' C'D CD CD'
+
+ A'B' X 0 1 0
+
+ A'B X 0 0 0
+
+ AB 0 0 X 1
+
+ AB' 1 1 X 1
+
+ The one solution for F and G:
+
+ F = B'D + ABD'+ A'D'
+
+ G = AC + ABD'+ CD'
+
+ The other solution for F and G:
+
+ F = B'D + A'CD' + BD'
+
+ G = AC + ABD' + A'CD'
\ No newline at end of file |