summaryrefslogtreecommitdiff
path: root/3860/CH9/EX9.5/Ex9_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH9/EX9.5/Ex9_5.sce')
-rw-r--r--3860/CH9/EX9.5/Ex9_5.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3860/CH9/EX9.5/Ex9_5.sce b/3860/CH9/EX9.5/Ex9_5.sce
new file mode 100644
index 000000000..1e59f3501
--- /dev/null
+++ b/3860/CH9/EX9.5/Ex9_5.sce
@@ -0,0 +1,19 @@
+//Example 9.5: Reduction of state table
+clc // Clears the console
+disp("Given State Table")
+disp("q | x=0 x=1 | x=0 x=1")
+disp('-----------------------------------------')
+disp("A | B D | 0 0")
+disp("B | E D | 1 0")
+disp("C | B C | 0 0")
+disp("D | F A | 0 0")
+disp("E | A B | 1 1")
+disp("F | E C | 1 0")
+disp('The set of equivalent states are A(A-C-D), B(B-F) and E')
+disp('The reduced state table is given below')
+disp("q | x=0 x=1 | x=0 x=1")
+disp('-----------------------------------------')
+disp("A | B A | 0 0")
+disp("B | E A | 1 0")
+disp("E | A B | 1 1")
+//displays the reduced state table.