summaryrefslogtreecommitdiff
path: root/401/CH8/EX8.3/Example8_3.sce
blob: 43f9315f81940e94ef961b2d9143d427df99064f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Example 8.3
//Program to determine the wavelength above which an intrinsic 
//photodetector will cease to operate

clear;
clc ;
close ;

//Given data
e=1.602*10^(-19);                //Coulumbs - CHARGE OF AN ELECTRON
h=6.626*10^(-34);                //J/K - PLANK's CONSTANT
c=2.998*10^8;                    //m/s - VELOCITY OF LIGHT IN VACCUM
Eg=1.43*e;                       //V - BANDGAP ENERGY

//Wavelength determination
Lambda_c=h*c/Eg;

//Displaying the Result in Command Window
printf("\n\n\t The wavelength above which an intrinsic photodetector will cease to operate is %0.2f um.",Lambda_c/10^(-6));