summaryrefslogtreecommitdiff
path: root/3860/CH8
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3860/CH8
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3860/CH8')
-rw-r--r--3860/CH8/EX8.2/Ex8_2.sce16
-rw-r--r--3860/CH8/EX8.2/Ex8_2.txt28
-rw-r--r--3860/CH8/EX8.3/Ex8_3.sce16
-rw-r--r--3860/CH8/EX8.3/Ex8_3.txt28
-rw-r--r--3860/CH8/EX8.4/Ex8_4.sce10
-rw-r--r--3860/CH8/EX8.4/Ex8_4.txt16
-rw-r--r--3860/CH8/EX8.7/Ex8_7.sce21
-rw-r--r--3860/CH8/EX8.7/Ex8_7.txt36
8 files changed, 171 insertions, 0 deletions
diff --git a/3860/CH8/EX8.2/Ex8_2.sce b/3860/CH8/EX8.2/Ex8_2.sce
new file mode 100644
index 000000000..f65eef3af
--- /dev/null
+++ b/3860/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,16 @@
+//Example 8.2: mod-120 counter
+clc // Clears the console
+disp("Displays the count from 0 to 119")
+disp('0000000')
+disp('0000001')
+disp('0000010')
+disp('0000011')
+disp('0000100')
+disp('0000101')
+disp("0000110")
+disp(" -")
+disp(" -")
+disp(" -")
+disp("1110111")
+disp('displays the count till 1110111')
+disp('the counter resets to 0000000')
diff --git a/3860/CH8/EX8.2/Ex8_2.txt b/3860/CH8/EX8.2/Ex8_2.txt
new file mode 100644
index 000000000..9632e459c
--- /dev/null
+++ b/3860/CH8/EX8.2/Ex8_2.txt
@@ -0,0 +1,28 @@
+
+ Displays the count from 0 to 119
+
+ 0000000
+
+ 0000001
+
+ 0000010
+
+ 0000011
+
+ 0000100
+
+ 0000101
+
+ 0000110
+
+ -
+
+ -
+
+ -
+
+ 1110111
+
+ displays the count till 1110111
+
+ the counter resets to 0000000 \ No newline at end of file
diff --git a/3860/CH8/EX8.3/Ex8_3.sce b/3860/CH8/EX8.3/Ex8_3.sce
new file mode 100644
index 000000000..89eba1073
--- /dev/null
+++ b/3860/CH8/EX8.3/Ex8_3.sce
@@ -0,0 +1,16 @@
+//Example 8.3: mod-120 counter
+clc // Clears the console
+disp("Displays the count from 0 to 119")
+disp('0000000')
+disp('0000001')
+disp('0000010')
+disp('0000011')
+disp('0000100')
+disp('0000101')
+disp("0000110")
+disp(" -")
+disp(" -")
+disp(" -")
+disp("1110111")
+disp('displays the count till 1110111')
+disp('the counter resets to 0000000')
diff --git a/3860/CH8/EX8.3/Ex8_3.txt b/3860/CH8/EX8.3/Ex8_3.txt
new file mode 100644
index 000000000..9632e459c
--- /dev/null
+++ b/3860/CH8/EX8.3/Ex8_3.txt
@@ -0,0 +1,28 @@
+
+ Displays the count from 0 to 119
+
+ 0000000
+
+ 0000001
+
+ 0000010
+
+ 0000011
+
+ 0000100
+
+ 0000101
+
+ 0000110
+
+ -
+
+ -
+
+ -
+
+ 1110111
+
+ displays the count till 1110111
+
+ the counter resets to 0000000 \ No newline at end of file
diff --git a/3860/CH8/EX8.4/Ex8_4.sce b/3860/CH8/EX8.4/Ex8_4.sce
new file mode 100644
index 000000000..69c4e0379
--- /dev/null
+++ b/3860/CH8/EX8.4/Ex8_4.sce
@@ -0,0 +1,10 @@
+//Example 8.4: a clock pulse for every ninth input clock pulse
+clc // Clears the console
+disp("Displays a clock pulse for every ninth input clock pulse")
+disp(" IC 741613 can be used in three different configuration")
+disp("First solution")
+disp("0 1 2 3 4 5 6 7 8 0 - - - - - - - - ")
+disp("Second solution")
+disp("8 9 10 11 12 13 14 15 0 8 - - - - - - - - ")
+disp("Third solution")
+disp("7 8 9 10 11 12 13 14 15 7 8 - - - - - - - - ")
diff --git a/3860/CH8/EX8.4/Ex8_4.txt b/3860/CH8/EX8.4/Ex8_4.txt
new file mode 100644
index 000000000..6e3ef84d5
--- /dev/null
+++ b/3860/CH8/EX8.4/Ex8_4.txt
@@ -0,0 +1,16 @@
+
+ Displays a clock pulse for every ninth input clock pulse
+
+ IC 741613 can be used in three different configuration
+
+ First solution
+
+ 0 1 2 3 4 5 6 7 8 0 - - - - - - - -
+
+ Second solution
+
+ 8 9 10 11 12 13 14 15 0 8 - - - - - - - -
+
+ Third solution
+
+ 7 8 9 10 11 12 13 14 15 7 8 - - - - - - - - \ No newline at end of file
diff --git a/3860/CH8/EX8.7/Ex8_7.sce b/3860/CH8/EX8.7/Ex8_7.sce
new file mode 100644
index 000000000..19384d361
--- /dev/null
+++ b/3860/CH8/EX8.7/Ex8_7.sce
@@ -0,0 +1,21 @@
+//Example 8.7: Counter that goes through a specific set of sequence.
+clc // Clears the console
+disp("Displays the count in this particular Sequence.")
+disp('0001')
+disp('0010')
+disp('0100')
+disp('0111')
+disp('1011')
+disp('0000')
+disp("0110")
+disp("1101")
+disp("0101")
+disp("1110")
+disp("1000")
+disp("0011")
+disp("1111")
+disp("1100")
+disp("1010")
+disp("1001")
+disp('the counter repeats again.')
+
diff --git a/3860/CH8/EX8.7/Ex8_7.txt b/3860/CH8/EX8.7/Ex8_7.txt
new file mode 100644
index 000000000..d0a791d42
--- /dev/null
+++ b/3860/CH8/EX8.7/Ex8_7.txt
@@ -0,0 +1,36 @@
+
+ Displays the count in this particular Sequence.
+
+ 0001
+
+ 0010
+
+ 0100
+
+ 0111
+
+ 1011
+
+ 0000
+
+ 0110
+
+ 1101
+
+ 0101
+
+ 1110
+
+ 1000
+
+ 0011
+
+ 1111
+
+ 1100
+
+ 1010
+
+ 1001
+
+ the counter repeats again. \ No newline at end of file