summaryrefslogtreecommitdiff
path: root/3651/CH7/EX7.4/4.sce
blob: 8f7c12249473c3dd23fa038f7689c1ea5b8010b8 (plain)
1
2
3
4
5
6
7
8
9
10
11

//variable declaration
h=6.626*10**-34              //Planck constant 
C=3*10**8                    //Velocity of light
E_g=1.44                     //bandgap 

//calculations
lamda=(h*C)*10**10/(E_g*1.6*10**-19)       //Wavelenght

//Result
printf('Wavelenght = %0.3f   Angstrom     \n',(lamda))