summaryrefslogtreecommitdiff
path: root/1061/CH9/EX9.25/Ex9_25.sce
blob: 624ecd27b9e01801a4b0bb66b7d23bf9da04108f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);