summaryrefslogtreecommitdiff
path: root/3763/CH10/EX10.2/Ex10_2.sce
blob: 49c604db33a09f53bdabc1ed0d5c346644e89b61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//
//
//

//Variable declaration
lamda=1.55     //wavelength(micro m)

//Calculation
Eg=1.24/lamda     //band gap(eV)

//Result
printf("\n band gap is %0.3f  eV",Eg)