summaryrefslogtreecommitdiff
path: root/3889/CH5/EX5.10/Ex5_10.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3889/CH5/EX5.10/Ex5_10.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3889/CH5/EX5.10/Ex5_10.sce')
-rw-r--r--3889/CH5/EX5.10/Ex5_10.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3889/CH5/EX5.10/Ex5_10.sce b/3889/CH5/EX5.10/Ex5_10.sce
new file mode 100644
index 000000000..c5aecdcfe
--- /dev/null
+++ b/3889/CH5/EX5.10/Ex5_10.sce
@@ -0,0 +1,21 @@
+//Example 5.10
+//page 327
+//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=poly(2,'s');
+//substitution of s-2 for s
+
+P=(1+(5/s))*((s+3)/(s^2+2*s+2));
+k=poly(0,'k')
+//routh array
+r=routh_t(P,k)
+disp(r,"Routh Array")
+kval=kpure(P)
+mprintf('%g <K , is range of gain for closed loop poles to satisfy Re(s)<-2',kval(1))
+