summaryrefslogtreecommitdiff
path: root/45/CH8/EX8.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /45/CH8/EX8.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '45/CH8/EX8.5')
-rwxr-xr-x45/CH8/EX8.5/example_8_5.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/45/CH8/EX8.5/example_8_5.sce b/45/CH8/EX8.5/example_8_5.sce
new file mode 100755
index 000000000..93c694298
--- /dev/null
+++ b/45/CH8/EX8.5/example_8_5.sce
@@ -0,0 +1,10 @@
+//example 8.5
+clc;
+clear;
+disp('Here what happens at each point in time' );
+disp('Time t0: S = 0, R = 0, no change in Q (Q remains 0)');
+disp('Time t1: S = 1, R = 0, Q changes from 0 to 1');
+disp('Time t2: S = 0, R = 1, Q resets to 0');
+disp('Time t3: S = 1, R = 0, Q sets to 1 ');
+disp('Time t4: S = 0, R = 0, no change in Q (Q remains 1)');
+disp('Notice that either R or S, or both, are allowed to change state at any time, whether C is high or low. The only time both R and S must be stable (unchanging) is during the short PTs of the clock.'); \ No newline at end of file