blob: 56f85f4e0e7e186d81320c6d0cb6498bc7c7faea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//chapter 6 example 6//
clc
clear
//effeciency=n,charge of electron=e,wavwlength=l,plancks constant=h,speed of light=c,diode current=Ip,multiplication factor=M//
n=0.7;
e=1.6*(10^-19);
l=0.8*(10^-6);//in meters//
h=6.62*(10^-34);
c=3*(10^8);//in mts per sec//
R=(n*e*l)/(h*c);//responsivity//
printf("\n Responsivity=%f AW-1\n",R)
Po=0.8*(10^-6);//in watts//
Ip=(Po*R)*(10^6);//diode current//
I=10;//in micro amperes//
M=I/Ip;
printf("\n Multiplication factor=%f \n",M)
|