blob: d961a9151f21d676bb97a20a42f335deefeadb2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//Ex4_1
clc
Irs = 0.2*10^-6
Vf = 0.1
VT = 26*10^-3
eta = 1//for germanium
I = Irs*(exp(Vf/eta/VT)-1)
disp("Irs = "+string(Irs)+"A")//reverse saturation current
disp("Vf = "+string(Vf)+"V")//applied voltage
disp("VT = "+string(VT)+"V")//voltage at room temperature
disp("eta = "+string(eta))
disp("I = Irs*(exp(Vf/eta/VT)-1)")//current at room temperature
disp("I = "+string(I)+"A")
//current in silicon:
eta = 2//for silicon
disp("eta = "+string(eta))
I = Irs*(exp(Vf/eta/VT)-1)
disp("I = "+string(I)+"A")
// note: incomplete solution in textbook for above question.
|