From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3860/CH9/EX9.1/Ex9_1.sce | 18 ++++++++++++++++++ 3860/CH9/EX9.1/Ex9_1.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 3860/CH9/EX9.1/Ex9_1.sce create mode 100644 3860/CH9/EX9.1/Ex9_1.txt (limited to '3860/CH9/EX9.1') diff --git a/3860/CH9/EX9.1/Ex9_1.sce b/3860/CH9/EX9.1/Ex9_1.sce new file mode 100644 index 000000000..5dbcc15d3 --- /dev/null +++ b/3860/CH9/EX9.1/Ex9_1.sce @@ -0,0 +1,18 @@ +//Example 9.1: 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 | C B | 0 0") +disp("B | D D | 0 0") +disp("C | A D | 0 1") +disp("D | A C | 0 1") +disp('State C and D are equivalent. So, reduced state table is as given below.') +disp("q | x=0 x=1 | x=0 x=1") +disp('----------------------------------------------') +disp(" A | C-D B | 0 0") +disp(" B | C-D C-D | 0 0") +disp("C-D | A C-D | 0 1") +//displays the reduced state table. + + diff --git a/3860/CH9/EX9.1/Ex9_1.txt b/3860/CH9/EX9.1/Ex9_1.txt new file mode 100644 index 000000000..9483bb1e7 --- /dev/null +++ b/3860/CH9/EX9.1/Ex9_1.txt @@ -0,0 +1,26 @@ + + Given State Table + + q | x=0 x=1 | x=0 x=1 + + ----------------------------------------- + + A | C B | 0 0 + + B | D D | 0 0 + + C | A D | 0 1 + + D | A C | 0 1 + + State C and D are equivalent. So, reduced state table is as given below. + + q | x=0 x=1 | x=0 x=1 + + ---------------------------------------------- + + A | C-D B | 0 0 + + B | C-D C-D | 0 0 + + C-D | A C-D | 0 1 -- cgit