diff options
Diffstat (limited to '3889/CH5/EX5.4')
-rw-r--r-- | 3889/CH5/EX5.4/Ex5_4.sce | 22 | ||||
-rw-r--r-- | 3889/CH5/EX5.4/Ex5_4output.PNG | bin | 0 -> 14240 bytes |
2 files changed, 22 insertions, 0 deletions
diff --git a/3889/CH5/EX5.4/Ex5_4.sce b/3889/CH5/EX5.4/Ex5_4.sce new file mode 100644 index 000000000..ed4f4911a --- /dev/null +++ b/3889/CH5/EX5.4/Ex5_4.sce @@ -0,0 +1,22 @@ +//Example 5.4
+//page 321
+//Control Systems: Principles and Design
+//M Gopal, Second Edition, Tata McGraw-Hill
+//Chapter: Concepts of Stability: Routh Stability Array
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//transfer function
+s=%s;
+P=s^5+s^4 + 4* s^3 +24*s^2 +3*s +63;
+//routh array
+disp('Routh Array')
+r=routh_t(P)
+disp(r)
+[r,num]=routh_t(1/P,20)
+if num==0
+ disp("System is stable")
+else
+ mprintf("There are %g sign changes in entries of first column.\nTherefore, system is unstable.", num)
+end
diff --git a/3889/CH5/EX5.4/Ex5_4output.PNG b/3889/CH5/EX5.4/Ex5_4output.PNG Binary files differnew file mode 100644 index 000000000..42e2fb354 --- /dev/null +++ b/3889/CH5/EX5.4/Ex5_4output.PNG |