summaryrefslogtreecommitdiff
path: root/3860/CH3/EX3.4
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH3/EX3.4')
-rw-r--r--3860/CH3/EX3.4/Ex3_4.sce19
-rw-r--r--3860/CH3/EX3.4/Ex3_4.txt32
2 files changed, 51 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')
diff --git a/3860/CH3/EX3.4/Ex3_4.txt b/3860/CH3/EX3.4/Ex3_4.txt
new file mode 100644
index 000000000..1d63cf505
--- /dev/null
+++ b/3860/CH3/EX3.4/Ex3_4.txt
@@ -0,0 +1,32 @@
+
+ The given K map for function G =
+
+ A'B' A'B AB AB'
+
+ C'D'
+
+ C'D 1
+
+ CD 1
+
+ CD' 1
+
+ The given K map for function H =
+
+ A'B' A'B AB AB'
+
+ C'D'
+
+ C'D 1 1
+
+ CD 1
+
+ CD' 1
+
+ The solution for G is
+
+ G = ABC + ABD
+
+ The solution for H is
+
+ H = BC'D + ABC