summaryrefslogtreecommitdiff
path: root/2288/CH4/EX4.16.14/ex4_16_14.sce
blob: d74b0e801e61266753568ed8a7a15954479ecb6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Exa 4.16.14
clc;
clear;
close;
// Given data
V = 0.25;// in V
I_o = 1.2;// in µA
I_o = I_o * 10^-6;// in A
V_T = 26;// in mV
V_T = V_T * 10^-3;// in V
Eta = 1;
r = (Eta * V_T)/(I_o * (%e^(V/(Eta * V_T))));// in ohm
disp(r,"The ac resistance of the diode in ohm is");