summaryrefslogtreecommitdiff
path: root/374/CH6/EX6.2/62.sci
blob: acb0beeb82cdd531c9a4f0c29009f013db49c296 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//chapter 6 example 2//
clc
clear
//quantum efficiency=n,number of hole pairs generated=re,number of incident photon=rp,responsivity=R,charge of the electron=e,speed of the light=c//
re=1.5*(10^11);
rp=3*(10^11);
n=re/rp;//quantum efficiency//
printf("\n quantum efficiency=%f m\n",n)
e=1.6*(10^-19);
l=0.85*(10^-6);//in mts//
c=3*(10^8);//in mts/sec//
h=6.62*(10^-34);
R=(n*e*l)/(h*c);
printf("\n responsivity of the photo diode=%f AW-1\n",R)