summaryrefslogtreecommitdiff
path: root/226/CH1/EX1.6/example6_sce.sce
blob: 5a5e6eeca5d88f2d985da4b9601a7316d1727986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//chapter 1
//example 1.6
//page 29
printf("\n")
printf("given")

Id=.1*10^-3;n=2;
Vt=26*10^-3;
I0=30*10^-9;
disp("a)")
Vd=(n*Vt)*log(Id/I0)*10^3;
printf(" forward bais current is %dmV\n",Vd)
disp("b)")
Id=10*10^-3
Vd=(n*Vt)*log(Id/I0)*10^3;
printf(" forward bais current is %dmV\n",Vd)