summaryrefslogtreecommitdiff
path: root/3860/CH2/EX2.21
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH2/EX2.21')
-rw-r--r--3860/CH2/EX2.21/Ex2_21.sce7
-rw-r--r--3860/CH2/EX2.21/Ex2_21.txt6
2 files changed, 13 insertions, 0 deletions
diff --git a/3860/CH2/EX2.21/Ex2_21.sce b/3860/CH2/EX2.21/Ex2_21.sce
new file mode 100644
index 000000000..a68c11acc
--- /dev/null
+++ b/3860/CH2/EX2.21/Ex2_21.sce
@@ -0,0 +1,7 @@
+//Example 2.21: Reduce expression using Boolean laws ( Consensus Theorem)
+clc // Clears the console
+disp('g = bc'' + abd + acd ')
+disp('the only consensus term defined is bc''$ acd = abd')
+disp('g = bc'' + acd ')//removing consensus term
+
+//the reduced expression is displayed.
diff --git a/3860/CH2/EX2.21/Ex2_21.txt b/3860/CH2/EX2.21/Ex2_21.txt
new file mode 100644
index 000000000..3628d2d4b
--- /dev/null
+++ b/3860/CH2/EX2.21/Ex2_21.txt
@@ -0,0 +1,6 @@
+
+ g = bc' + abd + acd
+
+ the only consensus term defined is bc'$ acd = abd
+
+ g = bc' + acd