summaryrefslogtreecommitdiff
path: root/3860/CH3/EX3.4/Ex3_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH3/EX3.4/Ex3_4.sce')
-rw-r--r--3860/CH3/EX3.4/Ex3_4.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3860/CH3/EX3.4/Ex3_4.sce b/3860/CH3/EX3.4/Ex3_4.sce
new file mode 100644
index 000000000..7b352c75e
--- /dev/null
+++ b/3860/CH3/EX3.4/Ex3_4.sce
@@ -0,0 +1,19 @@
+//Example 3.4 Simplify expression using k-map
+clc; //clears the console window
+clear; //clears the variable browser
+disp('The given K map for function G = ')
+disp(' A''B'' A''B AB AB''')
+disp('C''D'' ')
+disp('C''D 1 ')
+disp('CD 1 ')
+disp('CD'' 1 ') //The kmap for G is displayed//
+disp('The given K map for function H = ')
+disp(' A''B'' A''B AB AB''')
+disp('C''D'' ')
+disp('C''D 1 1 ')
+disp('CD 1 ')
+disp('CD'' 1 ') //The kmap for H is displayed//
+disp('The solution for G is')
+disp('G = ABC + ABD')
+disp('The solution for H is')
+disp('H = BC''D + ABC')