summaryrefslogtreecommitdiff
path: root/257/CH9/EX9.32/example_9_32.sce
diff options
context:
space:
mode:
Diffstat (limited to '257/CH9/EX9.32/example_9_32.sce')
-rw-r--r--257/CH9/EX9.32/example_9_32.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/257/CH9/EX9.32/example_9_32.sce b/257/CH9/EX9.32/example_9_32.sce
new file mode 100644
index 000000000..979ba13bd
--- /dev/null
+++ b/257/CH9/EX9.32/example_9_32.sce
@@ -0,0 +1,22 @@
+//given characteristic equation we get GH
+s=%s
+sys=syslin('c',k/(s*(s^2+8*s+20)))
+clf
+evans(sys)
+
+//stability
+
+[Ki,s]=kpure(sys)
+disp(Ki)
+
+
+//damping ratio is 0.95
+
+f=(-1.8+%i*0.55)
+disp("k for damping ratio 0.95 is")
+disp(abs((f*(f^2+8*f+20))))
+
+
+f=(-03.6+%i*1.1)
+disp("k for damping ratio 0.95 is")
+disp(abs((f*(f^2+8*f+20))))