summaryrefslogtreecommitdiff
path: root/3415/CH11/EX11.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3415/CH11/EX11.7
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 '3415/CH11/EX11.7')
-rw-r--r--3415/CH11/EX11.7/Ex11_7.JPGbin0 -> 46555 bytes
-rw-r--r--3415/CH11/EX11.7/Ex11_7.sce19
2 files changed, 19 insertions, 0 deletions
diff --git a/3415/CH11/EX11.7/Ex11_7.JPG b/3415/CH11/EX11.7/Ex11_7.JPG
new file mode 100644
index 000000000..15b717355
--- /dev/null
+++ b/3415/CH11/EX11.7/Ex11_7.JPG
Binary files differ
diff --git a/3415/CH11/EX11.7/Ex11_7.sce b/3415/CH11/EX11.7/Ex11_7.sce
new file mode 100644
index 000000000..f65dd3c48
--- /dev/null
+++ b/3415/CH11/EX11.7/Ex11_7.sce
@@ -0,0 +1,19 @@
+//fiber optic communications by joseph c. palais
+//example 11.7
+//OS=Windows XP sp3
+clc
+clear all
+//given
+Pi=2e-12//signal power in W
+K=1.38e-23//temperature in kelvin
+deltaf=1e7//bandwidth in Hz
+TA=300//Ambient temperature in Kelvin
+T=454//noise temperature in Kelvin
+PNT=1.66*10^-11//thermal noise power in W at 300K
+G=10//power gain of amplifier in dB
+//to find
+Te=T+TA//equivalent noise temperature in Kelvin
+PN=4*K*Te*deltaf//Noise power in W
+SNR=Pi/PN//Signal to noise ratio
+SNRdb=10*log10(SNR)//Signal to noise ratio in dB
+mprintf("Output Signal to noise ratio=%fdB",SNRdb)