summaryrefslogtreecommitdiff
path: root/1061/CH9/EX9.25/Ex9_25.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1061/CH9/EX9.25/Ex9_25.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 '1061/CH9/EX9.25/Ex9_25.sce')
-rwxr-xr-x1061/CH9/EX9.25/Ex9_25.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1061/CH9/EX9.25/Ex9_25.sce b/1061/CH9/EX9.25/Ex9_25.sce
new file mode 100755
index 000000000..624ecd27b
--- /dev/null
+++ b/1061/CH9/EX9.25/Ex9_25.sce
@@ -0,0 +1,18 @@
+//Ex:9.25
+clc;
+clear;
+close;
+h=6.625*10^-34;// plank constant
+c=3*10^8;// speed of light in m/s
+n=1;// quantum efficiency
+e=1.602*10^-19;// charge
+E=1.3*10^-19;// energy in J
+y=(h*c)/E;// wavelength in m
+M=18;// multiplication factor
+rp=10^13;// no. of photon per sec
+Po=rp*E;// output power in w
+Ip=(n*Po*e)/E;// output photocurrent in A
+I=M*Ip;// photocurrent in A
+printf("The wavelength =%f um", y*10^6);
+printf("\n The output power =%f uW", Po*10^6);
+printf("\n The photocurrent =%f uA", I*10^6); \ No newline at end of file