summaryrefslogtreecommitdiff
path: root/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.9.sci
diff options
context:
space:
mode:
Diffstat (limited to 'Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.9.sci')
-rw-r--r--Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.9.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.9.sci b/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.9.sci
new file mode 100644
index 0000000..6154ef6
--- /dev/null
+++ b/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.9.sci
@@ -0,0 +1,12 @@
+function y=locus9(z)
+s=%s
+G=syslin('c',(s+4/3)/(s^2*(s+12)))
+evans(G,z)
+d=derivat(G)
+p=numer(d)
+a=roots(p)
+disp(a,"Breakaway points=")
+printf("Equal roots are at s=-4")
+printf("/n Value of K at s=-4=")
+y=0;
+endfunction