summaryrefslogtreecommitdiff
path: root/2414/CH13/EX13.7/Ex13_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2414/CH13/EX13.7/Ex13_7.sce
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 '2414/CH13/EX13.7/Ex13_7.sce')
-rwxr-xr-x2414/CH13/EX13.7/Ex13_7.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2414/CH13/EX13.7/Ex13_7.sce b/2414/CH13/EX13.7/Ex13_7.sce
new file mode 100755
index 000000000..4c6882d17
--- /dev/null
+++ b/2414/CH13/EX13.7/Ex13_7.sce
@@ -0,0 +1,25 @@
+clc;
+close();
+clear();
+//page no 455
+//prob no. 13.7
+//data from ex 13.6
+M=2^6;
+Pr=200*10^-15; //W
+R=8*10^6; //bits/s (changed)
+Eb=Pr/R;
+
+k=1.38*10^-23; //Boltzmann cons
+Ti=300; //K
+Te=425; //K
+Tsys=Ti+Te;
+nsys=k*Tsys;
+//mprintf(' Noise power spectral density ,nsys=%.0f*10^-20 W/Hz \n',nsys*10^20);
+rho=Eb/nsys;
+mprintf(' Bit energy , rho=%.1f \n',rho);
+rhodB=10*log10(rho);
+mprintf(' Bit energy in db, rho,dB=%.2f dB \n',rhodB);
+
+Pe=1.3*10^-2;
+SNout=1.5*M^2/(1+4*M^2*Pe);
+mprintf(' \n (S/N)output=%.2f (or %0.2f dB) \n',SNout,10*log10(SNout));