summaryrefslogtreecommitdiff
path: root/3740/CH7/EX7.2/Ex7_2.sce
blob: e07f7ebe1d74ce544505211b84a1ee7aa8ca9123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 7.2
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;

//given
eta=0.5;//Dimensionless Quantum efficiency of photocathode
e=1.6e-19;//Electronic charge in C
Plambda=1e-6;//Radiation power incident on the photodiode in W
Lambda0=500e-9;//Wavelength of incident light in m
h=6.6e-34;//Planck's constant in SI Units
c=3e8;//Speed of light in vacuum in m/s

ilambda=eta*e*Plambda*Lambda0/(h*c);//Corresponding current generated in A
mprintf("\n ilambda = %.1e A",ilambda);