summaryrefslogtreecommitdiff
path: root/620/CH27/EX27.8/example27_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH27/EX27.8/example27_8.sce')
-rw-r--r--620/CH27/EX27.8/example27_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/620/CH27/EX27.8/example27_8.sce b/620/CH27/EX27.8/example27_8.sce
new file mode 100644
index 000000000..50cff6de6
--- /dev/null
+++ b/620/CH27/EX27.8/example27_8.sce
@@ -0,0 +1,12 @@
+l=8;
+r=400;
+v=120;
+f=60;
+disp("Part a");
+x_l=2*%pi*f*l;
+q=x_l/r;
+vc=q*v;
+disp("the capacitor voltage (in V) is"); disp(vc);
+disp("Part b");
+c=1/(4*%pi^2*f^2*l)
+disp("the necessary capacitance (in μF) is"); disp(c*10^6); \ No newline at end of file