summaryrefslogtreecommitdiff
path: root/2045/CH3/EX3.3/Ex3_3.sce
blob: 3925732a463b2ed533dca1968a4619457adf4e5f (plain)
1
2
3
4
5
6
7
8
9
10
11
//example 3 pagenumber 139
clear
v=4.3;//volt
q=4;//volt
dop=10^17;//per cubic centimetre
fi0=0.254*log(dop/(5.1*10^10));
fi01=0.407+q+0.55;
disp('fi0   =   '+string(fi01));