summaryrefslogtreecommitdiff
path: root/3869/CH4/EX4.3/Ex4_3.sce
blob: d2f9f06a06290e5d0f1aa852b369d3cc61b62806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
//
//
//

//Variable declaration
c=3*10**8               //velocity of light(m/sec)
e=1.6*10**-19           //charge of electron(coulomb)
Eg=1.44*e               //band gap energy(J)
h=6.626*10**-34         //planck's constant(Jsec)

//Calculation
lamda=h*c/Eg            //wavelength(m)

//Result
printf("\n wavelength is %0.0f  angstrom",lamda*10**10)