summaryrefslogtreecommitdiff
path: root/608/CH28/EX28.09
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /608/CH28/EX28.09
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '608/CH28/EX28.09')
-rwxr-xr-x608/CH28/EX28.09/28_09.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/608/CH28/EX28.09/28_09.sce b/608/CH28/EX28.09/28_09.sce
new file mode 100755
index 000000000..833f3247c
--- /dev/null
+++ b/608/CH28/EX28.09/28_09.sce
@@ -0,0 +1,27 @@
+//Problem 28.09: A series R–L–C circuit is connected to a 0.2 V supply and the current is at its maximum value of 4 mA when the supply frequency is adjusted to 3 kHz. The Q-factor of the circuit under these conditions is 100. Determine the value of (a) the circuit resistance, (b) the circuit inductance, (c) the circuit capacitance, and (d) the voltage across the capacitor
+
+//initializing the variables:
+V = 0.2; // in Volts
+I = 0.004; // in Amperes
+fr = 3000; // in Hz
+Qr = 100; // Q-factor
+
+//calculation:
+wr = 2*%pi*fr
+//At resonance, impedance
+Z = V/I
+//At resonance the circuit impedance, Z
+R = Z
+//Q-factor at resonance is given by Qr = wr*L/R, then L is
+L = Qr*R/wr
+//At resonance r*L = 1/(wr*C)
+//capacitance, C
+C = 1/(L*wr*wr)
+//Q-factor at resonance in a series circuit represents the voltage magnification Qr = Vc/V, then Vc is
+Vc = Qr*V
+
+printf("\n\n Result \n\n")
+printf("\n (a)the circuit resistance is %.0f ohm ",R)
+printf("\n (b)inductance, L is %.3f H ",L)
+printf("\n (c)capacitance, C is %.2E F ",C)
+printf("\n (d)the voltage across the capacitor is %.0f V ",Vc) \ No newline at end of file