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 /1319/CH1/EX1.11/1_11.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 '1319/CH1/EX1.11/1_11.sce')
-rw-r--r-- | 1319/CH1/EX1.11/1_11.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/1319/CH1/EX1.11/1_11.sce b/1319/CH1/EX1.11/1_11.sce new file mode 100644 index 000000000..303d207f5 --- /dev/null +++ b/1319/CH1/EX1.11/1_11.sce @@ -0,0 +1,29 @@ +// RLC circuit problems with quality factor
+
+clc;
+clear;
+
+C=320*(10^-12);
+Q=50;
+f0=175*(10^3);
+w0=2*%pi*f0;
+
+L=1/(C*(w0^2));
+
+R=w0*L/Q;
+
+Xc=1/(C*w0);
+Xl=L*w0;
+
+V=0.85;
+
+I=V/R;
+
+Vc=I*Xc;
+
+bw=f0/Q;
+
+mprintf('The inductance for resonance =%f m H \n',(10^3)*L);
+mprintf('The current flowing in the circuit at resonance =%f m A \n',(10^3)*I);
+mprintf('The voltage across the capacitor at resonance =%f V \n',Vc);
+mprintf('The bandwidth of the circuit =%f Hz \n',bw);
|