summaryrefslogtreecommitdiff
path: root/1655/CH7/EX7.5.4/Example_7_5_4.sce
blob: 046d30cf7d3e1dc6b055b4fb239ad64e479dbd42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Example 7.5.4  page 7.25

clc;
clear;

lamda=0.8d-6;
h=6.625d-34;    //plank's constant
c=3d8;      //speed of light
q=1.6d-19;  //charge of electron
ne=1.8d11;  //electrons collected
np=4d11;    //photons incident

eta=ne/np;      //computing quantum efficiency
R=eta*q*lamda/(h*c);    //computing responsivity

printf("\nResponsivity of photodiode at 0.8 micrometer is %.3f A/W.",R);

//answer in the book is 0.289. deviation of 0.001 A/W