diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1655/CH7/EX7.5.7 | |
download | Scilab-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/CH7/EX7.5.7')
-rwxr-xr-x | 1655/CH7/EX7.5.7/Example_7_5_7.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/1655/CH7/EX7.5.7/Example_7_5_7.sce b/1655/CH7/EX7.5.7/Example_7_5_7.sce new file mode 100755 index 000000000..31aa49ae6 --- /dev/null +++ b/1655/CH7/EX7.5.7/Example_7_5_7.sce @@ -0,0 +1,22 @@ +
+// Example 7.5.7 page 7.27
+
+clc;
+clear;
+
+h=6.626d-34; //plank's constant
+c=3d8; //speed of light
+eta=65/100; //quantum efficiency
+I=2.5d-6; //photocurrent
+E=1.5d-19; //energy of photns
+q=1.6d-19; //charge of electron
+
+lamda=h*c/E; //computing wavelength
+R=eta*q*lamda/(h*c); //computing responsivity
+Popt=I/R; //computing optical power
+lamda=lamda*10^6;
+Popt=Popt*10^6;
+
+printf("\nWavelength is %.3f micrometer.\nResponsivity is %.3f A/W.\nIncident optical power required is %.1f microWatt.",lamda,R,Popt);
+
+//answer of R(responsivity) in the book is calculated as 0.694 A/W, deviation of 0.001.
|