summaryrefslogtreecommitdiff
path: root/3665/CH8/EX8.10/Ex8_10.sce
blob: 65fc52b1227de10576edb9182476cf6f1f8cca43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc//
//
//

//Variable declaration
k=1.38*10^-23;   //boltzmann constant
EF=0.18;      //fermi shift(eV)
E=1.2;       //energy gap(eV)
e=1.6*10^-19;  
r=5;   

//Calculation
T=EF*e*4/(3*k*log(r));    //temperature(K)

//Result
printf("\n temperature is %0.0f K",T)