summaryrefslogtreecommitdiff
path: root/3860/CH9/EX9.6
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH9/EX9.6')
-rw-r--r--3860/CH9/EX9.6/Ex9_6.sce22
-rw-r--r--3860/CH9/EX9.6/Ex9_6.txt30
2 files changed, 52 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
diff --git a/3860/CH9/EX9.6/Ex9_6.txt b/3860/CH9/EX9.6/Ex9_6.txt
new file mode 100644
index 000000000..5c19e8de7
--- /dev/null
+++ b/3860/CH9/EX9.6/Ex9_6.txt
@@ -0,0 +1,30 @@
+
+ Given State Table
+
+ q | x=00 x=01 x=10 x=11 | z
+
+ --|--------------------------------|-----
+
+ A | B A F D | 1
+
+ B | E A D C | 1
+
+ C | A F D C | 0
+
+ D | A A B C | 1
+
+ E | B A C B | 1
+
+ F | A F B C | 0
+
+ States A-E , B-D and C-F are equivalent
+
+ q | x=00 x=01 x=10 x=11 | z
+
+ --|--------------------------------|-----
+
+ A | B A C B | 1
+
+ B | A A B C | 1
+
+ C | A C B C | 0 \ No newline at end of file