summaryrefslogtreecommitdiff
path: root/3543/CH6/EX6.38/EX6_38.sce
blob: e7b807297b8118f6ffdae01ba943056f9f4e918a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Example 6.38
// Calculation of a) quantum efficiency b) responsivity
// Page no 494

clc;
clear;
close;

//Given data
e5=1.2*10^11;                            // No of electrons collected
e8=3.6*10^11;                            // No of incident photon
e=1.602*10^-19;                         // Charge of an electron
lambda=0.85*10^-6;                      // Wavelength 
h=6.626*10^-34;                        // Planck constant 
c=3*10^8;                              // Velocity of light
I=15*10^-6;                            // Photocurrent
P=0.6*10^-6; 

// a)Quantum efficiency
n=e5/e8;
// b)Responsivity
R=(n*e*lambda)/(h*c);


//Displaying results in the command window            
printf("\n Quantum efficiency = %0.2f  ",n);
printf("\n Responsivity(in A/W) = %0.3f  ",R);

// The answers vary due to round off error