summaryrefslogtreecommitdiff
path: root/3020/CH11/EX11.13/ex11_13.sce
blob: 7433cd43fbf5d01bef11c0d4190558db714c0a93 (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 = 3.0*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')