summaryrefslogtreecommitdiff
path: root/2885/CH3/EX3.3/ex3_3.sce
blob: 26248a4f085dde134a6e347fba3f3313ab8a3853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//determine dc & ac resistance of silicon diode
clear;
clc;
//soltion
//given
Id=20*10^-3;//A//diode current
Vd=0.75;//V// as given in the V-I graph
Rf=Vd/Id;
printf("The dc resistance of diode is %.1f Ω\n",Rf);

//From Graph the values of dynamic voltage and current are
//which is equal to MN and NL repectively (in graph)
del_Vd=(0.8-0.68);//V
del_Id=(40-0)*10^-3;//A
rf=del_Vd/del_Id;
printf("The ac resistance of the diode is %d Ω",rf)