diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3682/CH10/EX10.4 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3682/CH10/EX10.4')
-rw-r--r-- | 3682/CH10/EX10.4/Ex10_4.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/3682/CH10/EX10.4/Ex10_4.sce b/3682/CH10/EX10.4/Ex10_4.sce new file mode 100644 index 000000000..2d8f56861 --- /dev/null +++ b/3682/CH10/EX10.4/Ex10_4.sce @@ -0,0 +1,24 @@ +// Exa 10.4
+
+clc;
+clear;
+
+// Given data
+
+// A 16 bit dual slope ADC is specified
+n = 16; // 16 bit counter
+CR = 4*10^6; // clock rate in Hz
+Vimax = 10; // Maximum input voltage
+Vomax= -8; // Maximum integrator output voltage
+C = 0.1*10^-6; // Capacitor(Farads)
+
+// Solution
+
+//Referring Eqn 10.4, 10.5, 10.6, 10.7 given on page no 364 and 365;
+
+T1 = 2^n/CR; // Time Period
+// For the integrator
+// dell Vo= (-1/RC)*Vmax*T1;
+// Therefore
+R = -(Vimax*T1)/(Vomax*C); // Resistor value
+printf('The value of resistor R of the integrator is %d kΩ. \n ',round(R/1000));
|