summaryrefslogtreecommitdiff
path: root/226/CH3/EX3.6/example6_sce.sce
blob: 300bc12f4ce973e66b69a518950eddbdbf0d476f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//chapter 3
//example 3.6
//page 88
printf("\n")
printf("given")
Eo=21;Vf=.7;
t1=1.16*10^-3;t2=15.54*10^-3;
Vp=Eo+Vf
Vr=2*Vp
Il=40*10^-4;
Ifrm=(Il*(t1+t2))/t2;
Ifsm=30;
Rs=Vp/Ifsm
printf(" surge limiting resistance is %3.2fohm\n",Rs)