diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /48/CH12/EX12.12/eg_12_12.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '48/CH12/EX12.12/eg_12_12.sce')
-rwxr-xr-x | 48/CH12/EX12.12/eg_12_12.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/48/CH12/EX12.12/eg_12_12.sce b/48/CH12/EX12.12/eg_12_12.sce new file mode 100755 index 000000000..f2082d374 --- /dev/null +++ b/48/CH12/EX12.12/eg_12_12.sce @@ -0,0 +1,21 @@ +clc;
+clear;
+//1 is equivalent to A ad 2 to B and so on.
+p1=['A' 'D']; //pairs in partition t(1 and 4 represents that 1st and 4th state are in the same block);
+p2=['C' 'E'];
+
+q1=['A' 'E']; //pairs in partition t^
+q2=['B' 'D'];
+q3=['C' 'F'];
+
+disp("the following are the partitions of the machine M8");
+disp("T");
+disp('F',p2(2),p2(1),'B',p1);
+disp("T^");
+disp(q3,q2,q1);
+disp("------");
+disp("T");
+disp('F',p2,'B',p1);
+disp("T^");
+disp(q3,[q1 q2]);
+disp("------");
\ No newline at end of file |