summaryrefslogtreecommitdiff
path: root/1340/CH4/EX4.5/4_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1340/CH4/EX4.5/4_5.sce')
-rwxr-xr-x1340/CH4/EX4.5/4_5.sce20
1 files changed, 0 insertions, 20 deletions
diff --git a/1340/CH4/EX4.5/4_5.sce b/1340/CH4/EX4.5/4_5.sce
deleted file mode 100755
index a83d4fdf2..000000000
--- a/1340/CH4/EX4.5/4_5.sce
+++ /dev/null
@@ -1,20 +0,0 @@
-clc;
-s = %s;
-G = syslin('c',100/(s^2+15*s+100));
-disp(G,"G(s)=");
-den = denom(G);
-coef = coeff(den);
-Wn = sqrt(coef(1,1));
-disp(Wn,"Natural Frequency =");
-zeta = coef(1,2)/(2*Wn);
-disp(zeta,"Damping Ratio =");
-Tp = %pi/(Wn*sqrt(1-zeta^2));
-disp(Tp,"Peak time");
-Os = %e^(-%pi*zeta/sqrt(1-zeta^2))*100;
-disp(Os,"Pecentage overshoot =");
-Ts = 4/(zeta*Wn);
-disp(Ts,"Settling time for 2% tolerance =");
-Tr = (%pi - atan(sqrt(1-zeta^2)/zeta))/(Wn*sqrt(1-zeta^2));
-disp(Tr,"Rise time =");
-C = syslin('c',G/s);
-disp(C); \ No newline at end of file