summaryrefslogtreecommitdiff
path: root/3827/CH2/EX2.3/EX2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3827/CH2/EX2.3/EX2_3.sce')
-rw-r--r--3827/CH2/EX2.3/EX2_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3827/CH2/EX2.3/EX2_3.sce b/3827/CH2/EX2.3/EX2_3.sce
new file mode 100644
index 000000000..f0f11903c
--- /dev/null
+++ b/3827/CH2/EX2.3/EX2_3.sce
@@ -0,0 +1,15 @@
+//EX2_3 Simplify Z = (AB + C)(B'D + C'E') + (AB + C)'
+
+//clears the screen
+clc
+
+//clears already existing variables
+clear
+
+disp('Z = (AB + C)(B''D + C''E'') + (AB + C)''')
+disp('Let X = (AB + C)'' X'' = AB + C')
+disp('and Y = B''D + C''E''')
+disp('Z = X''Y + X')
+//By the elimination theorem i.e. X + X'Y = X + Y
+disp('Z = Y + X')
+disp('Z = B''D + C''E'' + (AB + C)'' ')