diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1151/CH2/EX2.11/example11.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1151/CH2/EX2.11/example11.sce')
-rwxr-xr-x | 1151/CH2/EX2.11/example11.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1151/CH2/EX2.11/example11.sce b/1151/CH2/EX2.11/example11.sce new file mode 100755 index 000000000..1576d394f --- /dev/null +++ b/1151/CH2/EX2.11/example11.sce @@ -0,0 +1,17 @@ +printf("the second order control system has transfer function Q(s)/T(s)=1/(J*s^2+f*s+k)");
+printf("given T(s)= 10/s");
+printf("Q(s)=1/(s*(J*s^2+f*s+k)");
+printf("characterstic equation of the given system is J*s^2+f*s+k =0");
+printf("compare it with the standard second order characterstic equation s^2+2*d*w*s+w^2=0");
+k=10/0.5;
+d1=log(0.06);
+d=sqrt(d1^2/(d1^2+%pi^2));
+w=%pi/sqrt(1-d^2);
+j=k/w^2;
+f=2*d*w*j;
+disp(d,"damping ratio=");
+disp(w,"undamped natural frequency(in rad/sec)=");
+disp(k,"value of K=");
+disp(j,"value of J=");
+disp(f,"value of f=");
+
|