summaryrefslogtreecommitdiff
path: root/3860/CH2/EX2.5
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH2/EX2.5')
-rw-r--r--3860/CH2/EX2.5/EX2_5.sce8
-rw-r--r--3860/CH2/EX2.5/Ex2_5.txt9
2 files changed, 17 insertions, 0 deletions
diff --git a/3860/CH2/EX2.5/EX2_5.sce b/3860/CH2/EX2.5/EX2_5.sce
new file mode 100644
index 000000000..57add8e50
--- /dev/null
+++ b/3860/CH2/EX2.5/EX2_5.sce
@@ -0,0 +1,8 @@
+//Example 2.5: Use of Demorgans Theorem.to find complement of a given function.
+clc; //clears the console
+clear; //clears all existing variables
+disp('The given expression is as follows')
+disp('f = wx''y + xy'' + wxz')
+disp('f'' = (wx''y + xy'' + wxz)''')
+disp('f'' = (wx''y)''(xy'')''(wxz)''')
+disp('f'' = (w''+ x + y'')(x'' + y)(w'' + x''+ z'')')
diff --git a/3860/CH2/EX2.5/Ex2_5.txt b/3860/CH2/EX2.5/Ex2_5.txt
new file mode 100644
index 000000000..b7ac1e29b
--- /dev/null
+++ b/3860/CH2/EX2.5/Ex2_5.txt
@@ -0,0 +1,9 @@
+ The given expression is as follows
+
+ f = wx'y + xy' + wxz
+
+ f' = (wx'y + xy' + wxz)'
+
+ f' = (wx'y)'(xy')'(wxz)'
+
+ f' = (w'+ x + y')(x' + y)(w' + x'+ z') \ No newline at end of file