summaryrefslogtreecommitdiff
path: root/620/CH19/EX19.11/example19_11.sce
blob: 7857cfbaf70de953799759ceacb10e54b079cf20 (plain)
1
2
3
4
5
6
7
8
9
10
11
r1=50;
r2=10;
vp=10;
p=0.63;
s=0.8;
t=0.5*10^(-3);
disp("Part a");
t0=s*t;
disp("the time constant (in ms) of the circuit is"); disp(t0*10^3);
l=t0*(r1+r2);
disp("the inductance (in mH) of the coil is"); disp(l*10^3);