summaryrefslogtreecommitdiff
path: root/3827/CH2/EX2.8/EX2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3827/CH2/EX2.8/EX2_8.sce')
-rw-r--r--3827/CH2/EX2.8/EX2_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3827/CH2/EX2.8/EX2_8.sce b/3827/CH2/EX2.8/EX2_8.sce
new file mode 100644
index 000000000..2b2ae98f4
--- /dev/null
+++ b/3827/CH2/EX2.8/EX2_8.sce
@@ -0,0 +1,16 @@
+//EX2_8 To find complement of (AB' + C)D' + E
+
+//clears the screen
+clc
+
+//clears already existing variables
+clear
+
+//By using 2.12 i.e. (X + Y)' = X'Y'
+disp('((AB'' + C)D'' + E)'' = [(AB'' + C)D'']''E''')
+//By using 2.13 i.e. (XY)' = X' + Y'
+disp('= [(AB'' + C) + D]E''')
+//Using 2.12
+disp('= [(AB'')'' C'' + D]E''')
+//Using 2.13
+disp('= [(A'' + B) C'' + D]E''')