summaryrefslogtreecommitdiff
path: root/1655/CH8/EX8.17.1/Example_8_17_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1655/CH8/EX8.17.1/Example_8_17_1.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 '1655/CH8/EX8.17.1/Example_8_17_1.sce')
-rwxr-xr-x1655/CH8/EX8.17.1/Example_8_17_1.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/1655/CH8/EX8.17.1/Example_8_17_1.sce b/1655/CH8/EX8.17.1/Example_8_17_1.sce
new file mode 100755
index 000000000..46245f5f9
--- /dev/null
+++ b/1655/CH8/EX8.17.1/Example_8_17_1.sce
@@ -0,0 +1,27 @@
+// Example 8.17.1 page 8.46
+
+clc;
+clear;
+
+lamda=0.85d-6;
+h=6.626d-34; //plank's constant
+c=3d8; //speed of light
+q=1.6d-19; //charge of electron
+eta=65/100; //quantum efficiency
+P0=300d-9; //optical power
+Id=3.5; //dark current
+B=6.5d6; //bandwidth
+K=1.39d-23; //Boltzman constant
+T=293; //temperature
+R=5d3; //load resister
+Ip= 10^9*eta*P0*q*lamda/(h*c);
+Its=10^9*(2*q*B*(Ip+Id));
+Its=sqrt(Its);
+printf("\nrms shot noise current is %.2f nA.",Its);
+
+It= 4*K*T*B/R;
+It=sqrt(It);
+It=It*10^9;
+printf("\nThermal noise is %.2f nA.",It);
+
+//answer given in book for Thermal noise it is 4.58nA, deviation is 0.02nA.