summaryrefslogtreecommitdiff
path: root/2288/CH4/EX4.16.6/ex4_16_6.sce
blob: 33a1b3b2532e34153adede37c9957ffa17d43392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Exa 4.16.6
clc;
clear;
close;
// Given data
Eta = 1;
T = 125;// in °C
T = T + 273;// in K
V_T = 8.62 * 10^-5 * 398;// in V
I_o = 30;// in µA
I_o= I_o*10^-6;// in A
v = 0.2;// in V
r_f = (Eta * V_T)/(I_o * %e^(v/(Eta* V_T)));// in ohm
disp(r_f,"The dynamic resistance in the forward direction in ohm is ");
r_r = (Eta * V_T)/(I_o * %e^(-v/(Eta* V_T)));// in ohm
disp(r_r*10^-3,"The dynamic resistance in the reverse direction in kohm is");