summaryrefslogtreecommitdiff
path: root/620/CH19/EX19.4/example19_4.sce
blob: 2cd900f30ae0c0f82fdf3153d745e53d082082e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
l=8;
r=400;
v=20;
t=20*10^(-3);
i=50*10^(-3);
disp("Part a");
t1=46*10^(-3);
t0=t1/t;
i1=0.9*i;........//from the curve
disp("The current (in mA) 46 ms after closing the switch is"); disp(i1*10^(3));
disp("Part b");
i2=27.5*10^(-3);
i0=i2/i;
t2=0.8*t;
disp("The time taken (in ms) to reach 27.5 mA is"); disp(t2*10^3);