summaryrefslogtreecommitdiff
path: root/698/CH15/EX15.9
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /698/CH15/EX15.9
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '698/CH15/EX15.9')
-rw-r--r--698/CH15/EX15.9/9_eccentricity_of_pivot.txt2
-rw-r--r--698/CH15/EX15.9/P9_eccentricity_of_pivot.sce21
2 files changed, 23 insertions, 0 deletions
diff --git a/698/CH15/EX15.9/9_eccentricity_of_pivot.txt b/698/CH15/EX15.9/9_eccentricity_of_pivot.txt
new file mode 100644
index 000000000..cac82e25a
--- /dev/null
+++ b/698/CH15/EX15.9/9_eccentricity_of_pivot.txt
@@ -0,0 +1,2 @@
+h=(4*R* sin(0.5*theta))/(sin(theta) + theta)
+h = 275 mm \ No newline at end of file
diff --git a/698/CH15/EX15.9/P9_eccentricity_of_pivot.sce b/698/CH15/EX15.9/P9_eccentricity_of_pivot.sce
new file mode 100644
index 000000000..ce4a68894
--- /dev/null
+++ b/698/CH15/EX15.9/P9_eccentricity_of_pivot.sce
@@ -0,0 +1,21 @@
+clc
+//Example 15.9
+// Eccentricity of pivot
+
+//------------------------------------------------------------------------------
+//Given Data:
+
+theta=%pi/2
+R=0.5/2
+
+res9= mopen(TMPDIR+'9_eccentricity_of_pivot.txt','wt')
+
+h=(4*R* sin(0.5*theta))/(sin(theta) + theta)
+mfprintf(res9,'h=(4*R* sin(0.5*theta))/(sin(theta) + theta)\n')
+mfprintf(res9,'h = %d mm',h* 1e3)
+
+mclose(res9);
+editor(TMPDIR+'9_eccentricity_of_pivot.txt')
+
+//------------------------------------------------------------------------------
+//--------------------------------End of program-------------------------------- \ No newline at end of file