summaryrefslogtreecommitdiff
path: root/620/CH23/EX23.7/example23_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH23/EX23.7/example23_7.sce')
-rw-r--r--620/CH23/EX23.7/example23_7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/620/CH23/EX23.7/example23_7.sce b/620/CH23/EX23.7/example23_7.sce
new file mode 100644
index 000000000..3fbdae4de
--- /dev/null
+++ b/620/CH23/EX23.7/example23_7.sce
@@ -0,0 +1,11 @@
+c1=8*10^(-6);
+c2=4*10^(-6);
+v=120;
+f=60;
+x_c1=1/(2*%pi*f*c1);
+x_c2=1/(2*%pi*f*c2);
+x_c=x_c1*x_c2/(x_c1+x_c2);
+disp("the total capacitive reactance (in Ω) is"); disp(x_c);
+disp("Part b");
+i=v/x_c;
+disp("the total current drawn (in A) from the supply is"); disp(i); \ No newline at end of file