summaryrefslogtreecommitdiff
path: root/3827/CH3/EX3.6/Ex3_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3827/CH3/EX3.6/Ex3_6.sce')
-rw-r--r--3827/CH3/EX3.6/Ex3_6.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3827/CH3/EX3.6/Ex3_6.sce b/3827/CH3/EX3.6/Ex3_6.sce
new file mode 100644
index 000000000..96751ee71
--- /dev/null
+++ b/3827/CH3/EX3.6/Ex3_6.sce
@@ -0,0 +1,14 @@
+//EX3_6: Simplify A′B′C′D′ + A′BC′D′ + A′BD + A′BC′D + ABCD + ACD′ + B′CD′
+
+//clears the screen
+clc
+
+//clears already existing variables
+clear
+
+disp('A′B′C′D′ + A′BC′D′ + A′BD + A′BC′D + ABCD + ACD′ + B′CD′')
+// Eliminating Repeated terms and applying the rule AB + AB' = A
+disp('= A′C′D′ + BD(A′ + AC) + ACD′ + B′CD′')
+disp('= A′C′D′ + A′BD + BCD + ACD′ + B′CD′')
+disp('= A′C′D′ + A′BD + BCD + ACD′ + B′CD′ + ABC') //consensus ACD′ and BCD
+disp('= A′C′D′ + A′BD + B′CD′ + ABC')