summaryrefslogtreecommitdiff
path: root/788/CH17/EX17.1.b/17_1_soln.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /788/CH17/EX17.1.b/17_1_soln.sce
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 '788/CH17/EX17.1.b/17_1_soln.sce')
-rwxr-xr-x788/CH17/EX17.1.b/17_1_soln.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/788/CH17/EX17.1.b/17_1_soln.sce b/788/CH17/EX17.1.b/17_1_soln.sce
new file mode 100755
index 000000000..16ce05eae
--- /dev/null
+++ b/788/CH17/EX17.1.b/17_1_soln.sce
@@ -0,0 +1,18 @@
+clc;
+pathname=get_absolute_file_path('17_1_soln.sce')
+filename=pathname+filesep()+'17_1_data.sci'
+exec(filename)
+
+// Solutions:
+// natural frequency of the oil,
+om_H=A*sqrt((2*beta1)/(V*M)); //rad/s
+// value of open-loop gain,
+open_loop=om_H/3; ///s
+// amplifier gain,
+G_A=open_loop/(G_SV*G_cyl*H); //mA/V
+// repeatable error,
+RE=SD/(G_A*H); //in
+
+// Results:
+printf("\n Results: ")
+printf("\n The repeatable error of system is %.5f in.",RE) \ No newline at end of file