diff options
Diffstat (limited to '3860/CH3/EX3.21')
-rw-r--r-- | 3860/CH3/EX3.21/EX3_21.sce | 12 | ||||
-rw-r--r-- | 3860/CH3/EX3.21/Ex3_21.txt | 16 |
2 files changed, 28 insertions, 0 deletions
diff --git a/3860/CH3/EX3.21/EX3_21.sce b/3860/CH3/EX3.21/EX3_21.sce new file mode 100644 index 000000000..fdfd72f43 --- /dev/null +++ b/3860/CH3/EX3.21/EX3_21.sce @@ -0,0 +1,12 @@ +//Example 3.21: Reduce expression using k-map with dont cares.
+clc; //clears the window
+clear; //clears all existing variables
+//Mapping the expression//
+disp(' W''X'' W''X WX WX'' ')
+disp('Y''Z'' X 1 1 ')
+disp('YZ'' X 1 1 ')
+disp('YZ X 1 1')
+disp('YZ'' X ')// the k-map is displayed.
+disp('g1 = x''z + w''yz + w''y''z'' + wxy''')
+disp('g2 = x''z + w''yz + xy''z'' + wxy''')
+disp('g3 = x''z + w''yz + xy''z'' + wy''z')
diff --git a/3860/CH3/EX3.21/Ex3_21.txt b/3860/CH3/EX3.21/Ex3_21.txt new file mode 100644 index 000000000..646ae9aec --- /dev/null +++ b/3860/CH3/EX3.21/Ex3_21.txt @@ -0,0 +1,16 @@ +
+ W'X' W'X WX WX'
+
+ Y'Z' X 1 1
+
+ YZ' X 1 1
+
+ YZ X 1 1
+
+ YZ' X
+
+ g1 = x'z + w'yz + w'y'z' + wxy'
+
+ g2 = x'z + w'yz + xy'z' + wxy'
+
+ g3 = x'z + w'yz + xy'z' + wy'z
\ No newline at end of file |