summaryrefslogtreecommitdiff
path: root/2498/CH1/EX1.28/ex1_28.sce
blob: c11f4801feca354d7429e954e855b9b0f4e381a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Exa 1.28
clc;
clear;
close;
format('v',6)
// Given data
T = 125;// in degree C
T = T + 273;// in K
V_T = T/11600;
Io = 30;// in µA
Io = Io * 10^-6;// in A
V = 0.2;// in V
// The dynamic resistance in forward direction,
r_f = V_T/( Io * (%e^(V/V_T)) );// in ohm
disp(r_f,"The dynamic resistance in forward direction in ohm is");
r_f = V_T/( Io * (%e^(-V/V_T)) );// in ohm
// The dynamic resistance in reverse direction 
r_f = r_f * 10^-6;// in Mohm
disp(r_f,"The dynamic resistance in reverse direction in Mohm is");