summaryrefslogtreecommitdiff
path: root/257/CH7/EX7.27/example_7_27.sce
diff options
context:
space:
mode:
Diffstat (limited to '257/CH7/EX7.27/example_7_27.sce')
-rw-r--r--257/CH7/EX7.27/example_7_27.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/257/CH7/EX7.27/example_7_27.sce b/257/CH7/EX7.27/example_7_27.sce
new file mode 100644
index 000000000..8616a1efc
--- /dev/null
+++ b/257/CH7/EX7.27/example_7_27.sce
@@ -0,0 +1,15 @@
+syms s
+G= 100/(s^2*(s+2)*(s+5))
+
+syms s
+Kp=limit(s*y/s,s,0) //Kp= position error coefficient
+Kv=limit(s*G*H,s,0) //Kv= velocity error coefficient
+Ka=limit(s^2*G*H,s,0) //Ka= accelaration error coefficient
+
+disp(Ka ,"Ka = ")
+disp(Kv ,"Kv = ")
+disp(Kp ,"Kp = ")
+
+Ess=1/(1+Kp) + (1/Kv) + (4/Ka)
+disp(Ess, "Ess = ")
+