diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3850/CH39/EX39.4/Ex39_4.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3850/CH39/EX39.4/Ex39_4.sce')
-rw-r--r-- | 3850/CH39/EX39.4/Ex39_4.sce | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/3850/CH39/EX39.4/Ex39_4.sce b/3850/CH39/EX39.4/Ex39_4.sce new file mode 100644 index 000000000..49c4fa758 --- /dev/null +++ b/3850/CH39/EX39.4/Ex39_4.sce @@ -0,0 +1,32 @@ + +//To find the Impedance the Peak Current and Resonant Frequency of the LCR Series Circuit
+
+//Example 39.4
+
+clear;
+
+clc;
+
+L=100*10^-3;//Self Inductance of Inductor inHenry
+
+C=100*10^-6;//Capacitance of Capacitor in Farads
+
+R=120;//Resitance of Resistor in ohms
+
+E0=30;//Peak Value of EMF of AC source in Volts
+
+w=100;//Angular Frequency of the AC source
+
+X=(1/(w*C))-(w*L);//Reactance of the Circuit in ohms
+
+Z=sqrt(R^2+X^2);//Total Impedance of the Circuit
+
+printf("Impedance of the LCR Series Circuit = %.0f ohms",Z);
+
+i0=E0/Z;//Peak Value of Current in Amperes
+
+printf("\n Peak current Value of the LCR Series Circuit = %.1f A",i0);
+
+f=(1/(2*%pi))*sqrt(1/(L*C));//Resonant Frequency of the Circuit
+
+printf("\n Resonant Frequency of the LCR Series Circuit = %.0f Hz",f);
|