summaryrefslogtreecommitdiff
path: root/3020/CH11/EX11.12/ex11_12.sce
blob: ce909155b7a586837144e9bca46a1b08916be9f9 (plain)
1
2
3
4
5
6
7
8
clc;
clear all;
c = 3e8; // Velocity of light in air
h = 6.626e-34 ; // Planck's constant
e = 1.609e-19; // Charge of an electron
Eg = 1.44*e ; // Band gap of given GaAs semiconductor in joule
lambda = ((h*c)/Eg)*1e6; // Wavelength of emitted from given GaAs semicinductor is 
disp('um',lambda,'Wavelength of emitted from given GaAs semicinductor is')