summaryrefslogtreecommitdiff
path: root/28/CH5/EX5.4.2/ex5_4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '28/CH5/EX5.4.2/ex5_4_2.sce')
-rwxr-xr-x28/CH5/EX5.4.2/ex5_4_2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/28/CH5/EX5.4.2/ex5_4_2.sce b/28/CH5/EX5.4.2/ex5_4_2.sce
new file mode 100755
index 000000000..1e5aa445a
--- /dev/null
+++ b/28/CH5/EX5.4.2/ex5_4_2.sce
@@ -0,0 +1,16 @@
+// with derivative feedback
+// characteristic equation is
+syms a
+s=%s;
+p=s^2+(2+(8*a))*s+8=0
+zeta=0.7 // given
+Wn=2.828;
+cof_1=coeffs(p,'s',1)
+// on comparing 2*zeta*Wn=cof_1
+a=((2*zeta*Wn)-2)/8
+disp(a,"Derivative feedback=")
+cof_2=coeffs(p,'s',0)
+cof_1=2+8*0.245;
+Kv=cof_2/cof_1;
+Ess=1/Kv
+disp(Ess,"Steady state error=") \ No newline at end of file