summaryrefslogtreecommitdiff
path: root/3827/CH3/EX3.5/Ex3_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3827/CH3/EX3.5/Ex3_5.sce')
-rw-r--r--3827/CH3/EX3.5/Ex3_5.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3827/CH3/EX3.5/Ex3_5.sce b/3827/CH3/EX3.5/Ex3_5.sce
new file mode 100644
index 000000000..54cfee788
--- /dev/null
+++ b/3827/CH3/EX3.5/Ex3_5.sce
@@ -0,0 +1,13 @@
+//EX3_5: Simplify WX + XY + X'Z' + WY'Z'
+
+//clears the screen
+clc
+
+//clears already existing variables
+clear
+
+disp('WX + XY + X''Z'' + WY''Z''')
+//add WZ' by consensus theorem
+disp('= WX + XY + X''Z'' + WY''Z'' + WZ''')//eliminate WY'Z'
+disp('= WX + XY + X''Z'' + WZ''') //eliminate WZ'
+disp('= WX + XY + X''Z''')