summaryrefslogtreecommitdiff
path: root/1430/CH9/EX9.8/exa9_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '1430/CH9/EX9.8/exa9_8.sce')
-rw-r--r--1430/CH9/EX9.8/exa9_8.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/1430/CH9/EX9.8/exa9_8.sce b/1430/CH9/EX9.8/exa9_8.sce
new file mode 100644
index 000000000..c92e03958
--- /dev/null
+++ b/1430/CH9/EX9.8/exa9_8.sce
@@ -0,0 +1,25 @@
+//Example 9.8
+// Natural Response of a Series LRC Circuit
+// From figure 9.17
+L=0.1;
+R=14;
+C=1/400;
+// Since Excitation is zero by definition of natural response ,we set v_s'=0 in standard 2nd order diffrential equation
+// homogeneneous differential equation will be
+// i_L''+(R/L)*i_L'+(1/(L*C))*i_L=0
+s=%s;
+p=s^2+(R/L)*s+(1/(L*C)); // characteristic equation
+//comparing this equation with standard 2nd order diffrential equation we get
+alpha=R/(2*L);
+omega=sqrt(1/(L*C));
+r=roots(p); // roots of characteristic equation
+// Let us assume values for A's
+A_1= -5;
+A_2= 7;
+t=0:0.001:0.1;
+i_l=A_1*exp(r(2)*t)+A_2*exp(r(1)*t);
+plot(t,i_l) // typical plot of Overdamped Response
+xlabel('t')
+ylabel('i_l(t)')
+title("Overdamped Response of series LRC circuit")
+