summaryrefslogtreecommitdiff
path: root/1061/CH9/EX9.7/Ex9_7.sce
blob: 13ac69b8b308a4298885bf5f0452b5d40697fb9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Ex:9.7
clc;
clear;
close;
n=0.65;// quantum efficiency
e=1.602*10^-19;// charge
h=6.626*10^-34;// plank constant
c=3*10^8;// speed of light in m/s
y=0.85*10^-6// wavelength in m
R=(n*e*y)/(h*c);// responsivity in A/W
Po=0.35*10^-6;// in W
Ip=R*Po;// output photo current
I=9*10^-6;// output current in A
M=I/Ip;// multiplication factor
M1=ceil(M);
printf("The multiplication factor =%d", M1);