summaryrefslogtreecommitdiff
path: root/3665/CH5/EX5.3/Ex5_3.sce
blob: 272ddbc90b5abb76f07e8b434038711eaa59e566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc//
//
//

//Variable declaration
kT=1;    //assume
E_Ef=kT;

//Calculation
FE=1/(1+exp(1));     //fermi function

//Result
printf("\n fermi function is %0.3f ",FE)