summaryrefslogtreecommitdiff
path: root/3845/CH23/EX23.13/Ex23_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH23/EX23.13/Ex23_13.sce')
-rw-r--r--3845/CH23/EX23.13/Ex23_13.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3845/CH23/EX23.13/Ex23_13.sce b/3845/CH23/EX23.13/Ex23_13.sce
new file mode 100644
index 000000000..72acafa59
--- /dev/null
+++ b/3845/CH23/EX23.13/Ex23_13.sce
@@ -0,0 +1,12 @@
+//Example 23.13
+R=40;//Resistance (ohm)
+L=3*10^-3;//Inductance (H)
+C=5*10^-6;//Capacitance (F)
+f_0=1/(2*%pi*sqrt(L*C));//Resonant frequency (Hz)
+printf('a.Resonant frequency = %0.2f kHz',f_0/1000)
+V_rms=120;//Rms voltage (V)
+Z=R;//Impedance is equal to the resistance alone as the reactances cancel out at the resonant frequency (ohm)
+I_rms=V_rms/Z;//Rms current (A)
+printf('\nb.Rms current = %0.2f A',I_rms)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest