summaryrefslogtreecommitdiff
path: root/3860/CH3/EX3.9/Ex3_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH3/EX3.9/Ex3_9.sce')
-rw-r--r--3860/CH3/EX3.9/Ex3_9.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3860/CH3/EX3.9/Ex3_9.sce b/3860/CH3/EX3.9/Ex3_9.sce
new file mode 100644
index 000000000..93438d488
--- /dev/null
+++ b/3860/CH3/EX3.9/Ex3_9.sce
@@ -0,0 +1,11 @@
+//Example 3.9 Reduction using K-Map
+clc; //clears the console window
+clear; //clears the variable browser
+disp('The given function is x''yz'' + x''yx + xy''z'' + xy''z + xyz')
+disp('The mapping is shown below')
+disp(' X''Y'' X''Y XY XY''')
+disp('Z'' 1 1')
+disp('Z 1 1 ') //The kmap for given function is displayed//
+disp('After finding the two essential prime implicants m7 is still uncovered. The following are the two solutions.')
+disp('f = x''y + xy'' + xz')
+disp('f = x''y + xy'' + yz')