summaryrefslogtreecommitdiff
path: root/3860/CH9/EX9.6/Ex9_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH9/EX9.6/Ex9_6.sce')
-rw-r--r--3860/CH9/EX9.6/Ex9_6.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3860/CH9/EX9.6/Ex9_6.sce b/3860/CH9/EX9.6/Ex9_6.sce
new file mode 100644
index 000000000..e628b5f87
--- /dev/null
+++ b/3860/CH9/EX9.6/Ex9_6.sce
@@ -0,0 +1,22 @@
+//Example 9.6: Reduction of state table
+clc // Clears the console
+disp("Given State Table")
+disp("q | x=00 x=01 x=10 x=11 | z")
+disp('--|--------------------------------|-----')
+disp("A | B A F D | 1")
+disp("B | E A D C | 1")
+disp("C | A F D C | 0")
+disp("D | A A B C | 1")
+disp("E | B A C B | 1")
+disp("F | A F B C | 0")
+disp('States A-E , B-D and C-F are equivalent')
+
+disp("q | x=00 x=01 x=10 x=11 | z")
+disp('--|--------------------------------|-----')
+disp("A | B A C B | 1")
+disp("B | A A B C | 1")
+disp("C | A C B C | 0")
+//displays the reduced state table.
+
+
+ \ No newline at end of file