summaryrefslogtreecommitdiff
path: root/1655/CH7/EX7.10.2/Example_7_10_2.sce
blob: 5545b5623f0c5040796bac2e4cced2800d685938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Example 7.10.3  page 7.54

clc;
clear;

lamda=900d-9;
h=6.626d-34;    //plank's constant
c=3d8;      //speed of light
q=1.6d-19;  //charge of electron
eta=65/100; //quantum efficiency
P0=0.5d-6;  //incident optical power
Im=10d2;   //avalanche gain

R= eta*q*lamda/(h*c);   //computing responsivity
Ip=10^8*P0*R;       //computing photocurrent
M=Im/Ip;        //computing multiplication factor
printf("\nMultiplication factor is %d.",M);

//answer in the book is 41.7 deviation 0.3.