blob: aa477e259fd4f19da173def3f2db65cbff9ff3fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//scilab 5.4.1
//windows 8 operating system
//chapter 3:Properties of Semiconductors
clc
clear
//given
c=3*(10^8);//c=velocity of light in vacuum in m/s
h=6.6*(10^-34);//h=Planck's constant in J.s
Eg=1.98*1.6*(10^-19)//Eg=band gap in J
//calculating Y=required wavelength
Y=((c*h)/Eg)/(10^-9)
disp("nm",Y,"Y=")
|