diff options
Diffstat (limited to '3860/CH2/EX2.6')
-rw-r--r-- | 3860/CH2/EX2.6/EX2_6.sce | 11 | ||||
-rw-r--r-- | 3860/CH2/EX2.6/Ex2_6.txt | 16 |
2 files changed, 27 insertions, 0 deletions
diff --git a/3860/CH2/EX2.6/EX2_6.sce b/3860/CH2/EX2.6/EX2_6.sce new file mode 100644 index 000000000..810a106b8 --- /dev/null +++ b/3860/CH2/EX2.6/EX2_6.sce @@ -0,0 +1,11 @@ +//Example 2.6: 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 = ab''(c + d''e) + a''bc'')')
+disp('Finding complement using Demorgan''s Theorem')
+disp('f'' = [ab''(c + d''e) + a''bc'']''')
+disp('f'' = [ab''(c + d''e)]'' [a''bc'']''')
+disp('f'' = [a'' + b + (c + d''e)''][a + b'' + c]')
+disp('f'' = [a'' + b + c''(d''e)''][a + b'' + c]')
+disp('f'' = [a'' + b + c''(d + e'')][a + b'' + c]')
diff --git a/3860/CH2/EX2.6/Ex2_6.txt b/3860/CH2/EX2.6/Ex2_6.txt new file mode 100644 index 000000000..bf14f6357 --- /dev/null +++ b/3860/CH2/EX2.6/Ex2_6.txt @@ -0,0 +1,16 @@ +
+ The given expression is as follows
+
+ f = ab'(c + d'e) + a'bc')
+
+ Finding complement using Demorgan's Theorem
+
+ f' = [ab'(c + d'e) + a'bc']'
+
+ f' = [ab'(c + d'e)]' [a'bc']'
+
+ f' = [a' + b + (c + d'e)'][a + b' + c]
+
+ f' = [a' + b + c'(d'e)'][a + b' + c]
+
+ f' = [a' + b + c'(d + e')][a + b' + c]
\ No newline at end of file |