diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /257/CH9/EX9.25/example_9_25.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '257/CH9/EX9.25/example_9_25.sce')
-rw-r--r-- | 257/CH9/EX9.25/example_9_25.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/257/CH9/EX9.25/example_9_25.sce b/257/CH9/EX9.25/example_9_25.sce new file mode 100644 index 000000000..17b53b06b --- /dev/null +++ b/257/CH9/EX9.25/example_9_25.sce @@ -0,0 +1,25 @@ +s=%s
+sys=syslin('c',k/(s*(s+4)*(s+2)))
+evans(sys)
+
+
+//values of k
+
+[Ki,s]=kpure(sys)
+disp("k should be less than")
+disp(Ki)
+
+//frequency of oscillations
+s=%s
+P=s^3+6*s^2+8*s+Ki
+routh=routh_t(P)
+disp(routh)
+disp("frequency of oscillations is")
+ disp(sqrt((roots(routh(2,:)))))
+
+ //damping ratio is 0.5 given
+// cos inverse of 0.5 is 60 degrees. from the root locus, the 60 degree line crosses the locus at (-0.75+j*1.25)
+
+f=(-0.75+%i*1.25)
+disp("k for damping ratio 0.5 is")
+disp(abs(f*(f+4)*(f+2)))
\ No newline at end of file |