summaryrefslogtreecommitdiff
path: root/401/CH8/EX8.1/Example8_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /401/CH8/EX8.1/Example8_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 '401/CH8/EX8.1/Example8_1.sce')
-rwxr-xr-x401/CH8/EX8.1/Example8_1.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/401/CH8/EX8.1/Example8_1.sce b/401/CH8/EX8.1/Example8_1.sce
new file mode 100755
index 000000000..84712ccbf
--- /dev/null
+++ b/401/CH8/EX8.1/Example8_1.sce
@@ -0,0 +1,25 @@
+//Example 8.1
+//Program to determine the Quantum efficiency and Responsivity of
+//the photodiode
+
+clear;
+clc ;
+close ;
+
+//Given data
+Lambda=0.85*10^-6; //metres - WAVELENGTH
+e=1.602*10^(-19); //Coulumbs - CHARGE OF AN ELECTRON
+h= 6.626*10^(-34); //J/K - PLANK's CONSTANT
+c=2.998*10^8; //m/s - VELOCITY OF LIGHT IN VACCUM
+Ne=1.2*10^11; //NUMBER OF ELECTRONS COLLECTED
+Np=3*10^11; //NUMBER OF INCIDENT PHOTONS
+
+//Quantum Efficiency
+eeta=Ne/Np;
+
+//Responsivity
+R=eeta*e*Lambda/(h*c);
+
+//Displaying the Results in Command Window
+printf("\n\n\t Quantum Efficiency = %0.1f .",eeta);
+printf("\n\n\t Responsivity, R = %0.3f A/W .",R); \ No newline at end of file