summaryrefslogtreecommitdiff
path: root/3885/CH5/EX5.2
diff options
context:
space:
mode:
Diffstat (limited to '3885/CH5/EX5.2')
-rw-r--r--3885/CH5/EX5.2/Ex5_2.sci20
1 files changed, 20 insertions, 0 deletions
diff --git a/3885/CH5/EX5.2/Ex5_2.sci b/3885/CH5/EX5.2/Ex5_2.sci
new file mode 100644
index 000000000..7e9f4d97c
--- /dev/null
+++ b/3885/CH5/EX5.2/Ex5_2.sci
@@ -0,0 +1,20 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 5.2
+
+clc;
+clear;
+s=poly(0,'s')
+a=(s^6)+(2*s^5)+(8*s^4)+(12*s^3)+(20*s^2)+(16*s)+16
+b=coeff(a)
+n=length(b)
+R=routh_t(a)
+disp(R,'the routh array is;')
+ap=s^4+6*s^2+8
+r=roots(ap)
+disp(r,'the roots of auxilary polynomial;')
+disp('the system is marginally stable;')
+disp('four roots lying in imaginary axis ;')