summaryrefslogtreecommitdiff
path: root/620/CH23/EX23.6/example23_6.sce
blob: 3b16ddf0a65bdf3a3f3a6ab3e9121a1a3b484386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
c1=8*10^(-6);
c2=4*10^(-6);
v=120;
f=60;
disp("Part a");
x_c1=1/(2*%pi*f*c1);
x_c2=1/(2*%pi*f*c2);
x_c=x_c1+x_c2;
disp("the total capacitive reactance (in Ω) is"); disp(x_c);
disp("Part b");
i=v/x_c;
disp("the current drawn (in A) by the capacitors is"); disp(i);
disp("Part c");
v1=i*x_c1;
v2=i*x_c2;
disp("voltage (in V) across 4 μF capacitor is"); disp(v2);
disp("voltage (in V) across 8 μF capacitor is"); disp(v1);