summaryrefslogtreecommitdiff
path: root/1340/CH4/EX4.6/4_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1340/CH4/EX4.6/4_6.sce')
-rwxr-xr-x1340/CH4/EX4.6/4_6.sce17
1 files changed, 0 insertions, 17 deletions
diff --git a/1340/CH4/EX4.6/4_6.sce b/1340/CH4/EX4.6/4_6.sce
deleted file mode 100755
index 9d50ddeb0..000000000
--- a/1340/CH4/EX4.6/4_6.sce
+++ /dev/null
@@ -1,17 +0,0 @@
-s = %s;
-G = poly([-3+%i*7 -3-%i*7 ],'s','roots');
-K = poly([-3+%i*7],'s','roots')
-disp(1/G);;
-k = plzr(1/G);
-t = roots(K);
-Wn = abs(t);
-disp(Wn,"natural frequency=");
-theta = atan(imag(t)/real(t));
-disp(theta,"phase =");
-zeta = cos(theta);disp(zeta,"damping ratio =");
-Tp = %pi/(Wn*sqrt(1-zeta^2));
-disp(Tp,"Peak time =");
-Os = 100*%e^((-%pi*zeta)/sqrt(1-zeta^2));
-disp(Os,"percentage overshoot =");
-Ts = 4/abs(real(t));
-disp(Ts,"settling time with 2% tolerance ="); \ No newline at end of file