summaryrefslogtreecommitdiff
path: root/1991/CH8/EX8.17/17.sce
diff options
context:
space:
mode:
Diffstat (limited to '1991/CH8/EX8.17/17.sce')
-rwxr-xr-x1991/CH8/EX8.17/17.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1991/CH8/EX8.17/17.sce b/1991/CH8/EX8.17/17.sce
new file mode 100755
index 000000000..d34d5304f
--- /dev/null
+++ b/1991/CH8/EX8.17/17.sce
@@ -0,0 +1,11 @@
+clc
+clear
+//input
+r=200 //resistence
+v=14 //voltage
+vr=9//pd across each component
+f=90 //frequency
+//calculation
+c=vr/(2*%pi*f*vr*r)//capacitor connected
+//output
+printf("the capacitor connected is %3.3e F",c)