blob: d59fb7f9b48e9a659e1ebb7d6f76c241d9e6b574 (
plain)
1
2
3
4
5
6
7
8
9
|
c=0.5*10^(-6);
disp("Part a");
f1=60;
x_c1=1/(2*%pi*f1*c);
disp("the capacitive reactance (in Ω) is"); disp(x_c1);
disp("Part b");
f2=1000;
x_c2=1/(2*%pi*f2*c);
disp("the capacitive reactance (in Ω) is"); disp(x_c2);
|