summaryrefslogtreecommitdiff
path: root/3860/CH3/EX3.3/Ex3_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH3/EX3.3/Ex3_3.sce')
-rw-r--r--3860/CH3/EX3.3/Ex3_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3860/CH3/EX3.3/Ex3_3.sce b/3860/CH3/EX3.3/Ex3_3.sce
new file mode 100644
index 000000000..71faa7fd0
--- /dev/null
+++ b/3860/CH3/EX3.3/Ex3_3.sce
@@ -0,0 +1,12 @@
+//Example 3.3 Expression Mapping
+clc; //clears the console window
+clear; //clears the variable browser
+disp('F = AB'' + AC + A''BC''')
+disp('F = AB''(C'' + C) + AC(B'' + B) + A''BC''')
+disp('F = AB''C'' + AB''C + AB''C + ABC + A''BC''')
+disp('m4 + m5 + m5 + m7 + m2')
+disp('m2 + m5 + m7 + m4')//removing duplicates and reordering
+disp(' A''B'' A''B AB AB''')
+disp('C'' - 1 - 1')
+disp('C - - 1 1') //The kmap for F is displayed//
+