summaryrefslogtreecommitdiff
path: root/3860/CH2/EX2.21/Ex2_21.sce
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH2/EX2.21/Ex2_21.sce')
-rw-r--r--3860/CH2/EX2.21/Ex2_21.sce7
1 files changed, 7 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.