summaryrefslogtreecommitdiff
path: root/3860/CH2/EX2.17/Ex2_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH2/EX2.17/Ex2_17.sce')
-rw-r--r--3860/CH2/EX2.17/Ex2_17.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3860/CH2/EX2.17/Ex2_17.sce b/3860/CH2/EX2.17/Ex2_17.sce
new file mode 100644
index 000000000..0e394e477
--- /dev/null
+++ b/3860/CH2/EX2.17/Ex2_17.sce
@@ -0,0 +1,8 @@
+//Example 2.17: Reduce expression using Boolean laws
+clc // Clears the console
+disp('(x + y)(x + y +z'') + y''')
+disp('=(x + y) + y''')
+disp('= x + (y + y'')')
+disp('= x + 1')
+disp('= 1')
+//the reduced expression is displayed.