blob: 1ab90a49375e2bf03c45dcc5dde6f9445bfb977f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
T1=300; //temperature(K)
T2=330; //temperature(K)
E=0.3; //band gap(eV)
//Calculation
Ec_Ef=T2*E/T1; //position of Fermi level(eV)
//Result
printf("\n position of Fermi level is %0.3f eV",Ec_Ef)
|