summaryrefslogtreecommitdiff
path: root/1655/CH7/EX7.5.5/Example_7_5_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1655/CH7/EX7.5.5/Example_7_5_5.sce')
-rwxr-xr-x1655/CH7/EX7.5.5/Example_7_5_5.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1655/CH7/EX7.5.5/Example_7_5_5.sce b/1655/CH7/EX7.5.5/Example_7_5_5.sce
new file mode 100755
index 000000000..458cd4ba8
--- /dev/null
+++ b/1655/CH7/EX7.5.5/Example_7_5_5.sce
@@ -0,0 +1,22 @@
+
+// Example 7.5.5 page 7.25
+
+clc;
+clear;
+
+h=6.626d-34; //plank's constant
+c=3d8; //speed of light
+eta=70/100; //quantum efficiency
+I=3d-6; //photocurrent
+E=1.8d-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 %.2f micrometer.\nResponsivity is %.3f A/W.\nIncident optical power required is %.3f microWatt.",lamda,R,Popt);
+
+//answer of Popt in the book is calculated as 4.823, deviation of 0.002