summaryrefslogtreecommitdiff
path: root/3537/CH6/EX6.4/Ex6_4.sce
blob: 940061a00c837632113ef20eb2a31c6d9504d0cf (plain)
1
2
3
4
5
6
7
//Example 6_4
clc();
clear;
//To find the band gap
lamda=1.55  //units in eV
eg=1.24/lamda   //units in eV
printf("Band gap is Eg=%.1feV",eg)