summaryrefslogtreecommitdiff
path: root/3860/CH3/EX3.20/Ex3_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH3/EX3.20/Ex3_20.sce')
-rw-r--r--3860/CH3/EX3.20/Ex3_20.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3860/CH3/EX3.20/Ex3_20.sce b/3860/CH3/EX3.20/Ex3_20.sce
new file mode 100644
index 000000000..22c16b9c8
--- /dev/null
+++ b/3860/CH3/EX3.20/Ex3_20.sce
@@ -0,0 +1,12 @@
+//Example 3.20 Simplify expression using k-map
+clc; //clears the console window
+clear; //clears the variable browser
+disp('F = m(1,7,10,11,13)+ d(5,8,15)')
+disp(' A''B'' A''B AB AB''')
+disp('C''D'' X')
+disp('C''D 1 X 1')
+disp('CD 1 X 1')
+disp('CD'' 1') //The kmap for F is displayed//
+disp('The solution for F is')
+disp('F = AC + ABD''+ CD''')
+