summaryrefslogtreecommitdiff
path: root/992/CH9/EX9.9/ex9_9.txt
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /992/CH9/EX9.9/ex9_9.txt
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 '992/CH9/EX9.9/ex9_9.txt')
-rwxr-xr-x992/CH9/EX9.9/ex9_9.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/992/CH9/EX9.9/ex9_9.txt b/992/CH9/EX9.9/ex9_9.txt
new file mode 100755
index 000000000..9038b7cee
--- /dev/null
+++ b/992/CH9/EX9.9/ex9_9.txt
@@ -0,0 +1,13 @@
+//Caption:Program to calculate the capacity of a standard telephone channel.
+//Exa:9.9
+clc;
+clear;
+close;
+//Given:
+SNR=32;
+Actual_snr=10^(SNR/10);
+w1=300;//in Hz
+w2=3400;//in Hz
+w=w2-w1;
+c=w*log2(1+Actual_snr);
+printf("\n Capacity=%f bits/sec",c); \ No newline at end of file