summaryrefslogtreecommitdiff
path: root/608/CH28/EX28.01/28_01.sce
diff options
context:
space:
mode:
Diffstat (limited to '608/CH28/EX28.01/28_01.sce')
-rwxr-xr-x608/CH28/EX28.01/28_01.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/608/CH28/EX28.01/28_01.sce b/608/CH28/EX28.01/28_01.sce
new file mode 100755
index 000000000..ee2c3f6f2
--- /dev/null
+++ b/608/CH28/EX28.01/28_01.sce
@@ -0,0 +1,17 @@
+//Problem 28.01: A coil having a resistance of 10 ohm and an inductance of 75 mH is connected in series with a 40 μF capacitor across a 200 V a.c. supply. Determine at what frequency resonance occurs, and (b) the current flowing at resonance.
+
+//initializing the variables:
+R = 10; // in ohms
+C = 40e-6; // IN fARADS
+L = 0.075; // IN Henry
+V = 200; // in Volts
+
+//calculation:
+//Resonant frequency,
+fr = 1/(2*%pi*((L*C)^0.5))
+//Current at resonance, I
+I = V/R
+
+printf("\n\n Result \n\n")
+printf("\n (a)Resonant frequency = %.1f Hz ",fr)
+printf("\n (b)Current at resonance, I is %.0f A ",I) \ No newline at end of file