summaryrefslogtreecommitdiff
path: root/1319/CH1/EX1.11/1_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '1319/CH1/EX1.11/1_11.sce')
-rw-r--r--1319/CH1/EX1.11/1_11.sce29
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);