summaryrefslogtreecommitdiff
path: root/3885/CH5/EX5.9
diff options
context:
space:
mode:
Diffstat (limited to '3885/CH5/EX5.9')
-rw-r--r--3885/CH5/EX5.9/Ex5_9.sci17
1 files changed, 17 insertions, 0 deletions
diff --git a/3885/CH5/EX5.9/Ex5_9.sci b/3885/CH5/EX5.9/Ex5_9.sci
new file mode 100644
index 000000000..d9b5660bd
--- /dev/null
+++ b/3885/CH5/EX5.9/Ex5_9.sci
@@ -0,0 +1,17 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 5.9
+
+clc;
+clear;
+s=poly(0,'s')
+//the close loop tranfer function is K/s*(s+1)*(s+2)+K
+a=(s^3)+(3*s^2)+(2*s)+1//the characterstic equation assuming K=1
+b=coeff(a)
+n=length(b)
+R=routh_t(a)
+disp(R,'the routh array is;')
+disp('the valus of K lies between 0 to6 for the system to be stable')