summaryrefslogtreecommitdiff
path: root/608/CH15/EX15.05/15_05.sce
diff options
context:
space:
mode:
Diffstat (limited to '608/CH15/EX15.05/15_05.sce')
-rwxr-xr-x608/CH15/EX15.05/15_05.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/608/CH15/EX15.05/15_05.sce b/608/CH15/EX15.05/15_05.sce
new file mode 100755
index 000000000..786193555
--- /dev/null
+++ b/608/CH15/EX15.05/15_05.sce
@@ -0,0 +1,13 @@
+//Problem 15.05: Calculate the current taken by a 23 μF capacitor when connected to a 240 V, 50 Hz supply.
+
+//initializing the variables:
+C = 23E-6; // in Farads
+f = 50; // in Hz
+V = 240; // in volts
+
+//calculation:
+Xc = 1/(2*%pi*f1*C)
+I = V/Xc
+
+printf("\n\n Result \n\n")
+printf("\n current I = %.2f A ",I) \ No newline at end of file