summaryrefslogtreecommitdiff
path: root/1319/CH1/EX1.10
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1319/CH1/EX1.10
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1319/CH1/EX1.10')
-rw-r--r--1319/CH1/EX1.10/1_10.sce39
1 files changed, 39 insertions, 0 deletions
diff --git a/1319/CH1/EX1.10/1_10.sce b/1319/CH1/EX1.10/1_10.sce
new file mode 100644
index 000000000..f57c46c9e
--- /dev/null
+++ b/1319/CH1/EX1.10/1_10.sce
@@ -0,0 +1,39 @@
+// RLC circuit problems on resonace
+
+clc;
+clear;
+
+R=6.28;
+L=20*(10^-3);
+f=5*(10^3);
+
+w=2*%pi*f;
+
+C=1/(L*(w^2));
+
+Xc=1/(w*C);
+Xl=L*w;
+
+Vc=5;
+
+Z=Xc+R+Xl;
+
+I=Vc/Xc // Total current
+
+V=I*R;
+
+// frequency is inversely proportional to square root of capacitance
+// So if C is halved; f will increase square root of 2 times more.
+
+fn=sqrt(2)*f;
+
+Xln=2*%pi*fn*L;
+
+Q=Xln/R;
+
+//Note under resonance conditions Vl and Vc are much greater than the supply voltage.
+
+mprintf('i) The value of capacitor = %f micro F \n',(10^6)*C)
+mprintf('ii) The supply voltage = %f V \n',V)
+mprintf('iii) The frequency of resonance when C is halved = %f Hz \n',fn)
+mprintf(' The Q of the new circuit = %f \n',Q)