summaryrefslogtreecommitdiff
path: root/3543/CH6/EX6.36/EX6_36.sce
blob: 2e352331e9325b3c8293c55f702a3d11b797958f (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.36
// Calculation of a) responsivity b)Multiplication factor
// Page no 493

clc;
clear;
close;

//Given data
n=0.8;                            // Quantum efficiency
e=1.602*10^-19;                   // Charge of an electron
lambda=0.9*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)Responsivity
R= (n*e*lambda)/(h*c);
// b)Multiplication factor
Ip=P*R;
M=I/Ip;


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

// The answers vary due to round off error