diff options
Diffstat (limited to '3860/CH5/EX5.3')
-rw-r--r-- | 3860/CH5/EX5.3/Ex5_3.sce | 16 | ||||
-rw-r--r-- | 3860/CH5/EX5.3/Ex5_3.txt | 28 |
2 files changed, 44 insertions, 0 deletions
diff --git a/3860/CH5/EX5.3/Ex5_3.sce b/3860/CH5/EX5.3/Ex5_3.sce new file mode 100644 index 000000000..85b206d1d --- /dev/null +++ b/3860/CH5/EX5.3/Ex5_3.sce @@ -0,0 +1,16 @@ +//Example 5.3: Implementation of Boolean logic using Decoders
+clc // Clears the console
+disp("f(a,b,c) = Summation(0,2,3,7)")
+disp("g(a,b,c) = Summation(1,4,6,7)")
+disp("Truth Table")
+disp("a b c | f g")
+disp("0 0 0 | 1 0")
+disp("0 0 1 | 0 1")
+disp("0 1 0 | 1 0")
+disp("0 1 1 | 1 0")
+disp("1 0 0 | 0 1")
+disp("1 0 1 | 0 0")
+disp("1 1 0 | 0 1")
+disp("1 1 1 | 1 1")
+disp("The function f = a''b''c'' + a''bc'' + a''bc + abc.")
+disp("The function g = a''b''c + ab''c'' + abc'' + abc.")
diff --git a/3860/CH5/EX5.3/Ex5_3.txt b/3860/CH5/EX5.3/Ex5_3.txt new file mode 100644 index 000000000..73e9145b1 --- /dev/null +++ b/3860/CH5/EX5.3/Ex5_3.txt @@ -0,0 +1,28 @@ +
+ f(a,b,c) = Summation(0,2,3,7)
+
+ g(a,b,c) = Summation(1,4,6,7)
+
+ Truth Table
+
+ a b c | f g
+
+ 0 0 0 | 1 0
+
+ 0 0 1 | 0 1
+
+ 0 1 0 | 1 0
+
+ 0 1 1 | 1 0
+
+ 1 0 0 | 0 1
+
+ 1 0 1 | 0 0
+
+ 1 1 0 | 0 1
+
+ 1 1 1 | 1 1
+
+ The function f = a'b'c' + a'bc' + a'bc + abc.
+
+ The function g = a'b'c + ab'c' + abc' + abc.
\ No newline at end of file |