summaryrefslogtreecommitdiff
path: root/1067/CH3/EX3.5/3_5.sce
blob: 103891b84f91fcd5d19b0aa40f77bf8527bad1b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

clear;
close;
clc;
E=19.1*1e3;
L=10*1e-3;
C=.02*1e-6;
Em=sqrt(2)*E;
y=sqrt(L*C);
t=%pi*y*1e6;
emax=2*Em;
eavg=emax/t;
eavg=round(eavg/10)*10
printf("average restriking voltage=%dV/microsecs",eavg);