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 /2528/CH12 | |
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 '2528/CH12')
-rwxr-xr-x | 2528/CH12/EX12.1/Ex12_1.sce | 17 | ||||
-rwxr-xr-x | 2528/CH12/EX12.2/Ex12_2.sce | 14 | ||||
-rwxr-xr-x | 2528/CH12/EX12.3/Ex12_3.sce | 11 |
3 files changed, 42 insertions, 0 deletions
diff --git a/2528/CH12/EX12.1/Ex12_1.sce b/2528/CH12/EX12.1/Ex12_1.sce new file mode 100755 index 000000000..e2cab9ad0 --- /dev/null +++ b/2528/CH12/EX12.1/Ex12_1.sce @@ -0,0 +1,17 @@ +// Chapter 12
+// Resolution of System
+// Page.No-445
+// Example12_1
+// Given
+clear;clc;
+V=2; //in V
+Bits=12;
+levels=2^Bits; //12 bit words
+step=V/levels;
+printf("\n The system can resolve = %.6f V\n",step); // Result
+Drange=20*log10(levels);
+printf("\n The Dynamic Range is = %.0f dB\n",Drange); // Result
+
+DR=6*Bits;
+printf("\n The Dynamic Range is approx (6dB * no.of bits),i.e. = %.0f dB\n",DR); // Result
+
diff --git a/2528/CH12/EX12.2/Ex12_2.sce b/2528/CH12/EX12.2/Ex12_2.sce new file mode 100755 index 000000000..abf0319a3 --- /dev/null +++ b/2528/CH12/EX12.2/Ex12_2.sce @@ -0,0 +1,14 @@ +// Chapter 12
+// Step size
+// Page.No-446
+// Example12_2
+// Given
+clear;clc;
+Bits=16;
+V=0.775; //in V
+Vp=1.550; //in Vp_p
+levels=2^Bits; //12 bit words
+DR=6*Bits;
+printf("\n The Dynamic Range is = %.0f dB\n",DR); //
+step=Vp/levels;
+printf("\n The system can resolve = %.8f V\n",step); // Result
diff --git a/2528/CH12/EX12.3/Ex12_3.sce b/2528/CH12/EX12.3/Ex12_3.sce new file mode 100755 index 000000000..3b57e2fd1 --- /dev/null +++ b/2528/CH12/EX12.3/Ex12_3.sce @@ -0,0 +1,11 @@ +// Chapter 12
+// Minimum acceptable frquency range
+// Page.No-448
+// Example_12_3
+// Given
+clear;clc;
+DR=50; //in dB
+Bits=DR/6;
+printf("\n The Bits required are = %.1f \n",Bits); // Result
+//we cannot have fractional bit so,
+printf("\n we cannot have fractional bit so, Bits required are = %.0f \n",Bits+1); // Result
|