summaryrefslogtreecommitdiff
path: root/1151/CH1/EX1.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1151/CH1/EX1.8
downloadScilab-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/CH1/EX1.8')
-rwxr-xr-x1151/CH1/EX1.8/example8.sce5
1 files changed, 5 insertions, 0 deletions
diff --git a/1151/CH1/EX1.8/example8.sce b/1151/CH1/EX1.8/example8.sce
new file mode 100755
index 000000000..519df72f4
--- /dev/null
+++ b/1151/CH1/EX1.8/example8.sce
@@ -0,0 +1,5 @@
+//find out transfer function of the system
+
+printf("syms K1 K2 M1 M2")
+printf(" the differential equatios in laplace form are \n F(s)=M1*S^2*X1(s)+K1*X1(s)-K2*X2(s)")
+printf("\n X1(s)=X2(s)*(s^2*M2+K1+K2)/K1 \n f=K1/((s^2*M2+K1+K2)*(K1+s^2*M1)-K1^2)\nTransfer function X2(s)/F(s)=f")