summaryrefslogtreecommitdiff
path: root/1325/CH10/EX10.4/10_4.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1325/CH10/EX10.4/10_4.sce
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 '1325/CH10/EX10.4/10_4.sce')
-rw-r--r--1325/CH10/EX10.4/10_4.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1325/CH10/EX10.4/10_4.sce b/1325/CH10/EX10.4/10_4.sce
new file mode 100644
index 000000000..de06f8dc8
--- /dev/null
+++ b/1325/CH10/EX10.4/10_4.sce
@@ -0,0 +1,19 @@
+//To find the smallest number of teeth
+clc
+//given
+phi=20*%pi/180
+//Solution a)
+ar=1
+t1=2*ar/sin(phi)^2//from equation 10.7
+T1=ceil(t1)
+//Solution b)
+aw=1
+t2=2*aw/((1+3*sin(phi)^2)^(1/2)-1)//from euation 10.6
+T2=ceil(t2)
+//solution c)
+t=1
+T=3
+A=(t/T)*(t/T+2)
+t3=2*aw*(t/T)/((1+A*sin(phi)^2)^(1/2)-1)//from 10.5
+T3=ceil(t3)
+printf("\nSmallest number of teeth theoretically required in order to avoid interference on a pinion which is to gear with\na) A rack , t= %.f\nb) An equal pinion , t= %.f\nc) A wheel to give a ratio of 3 to 1 , t= %.f\n",T1,T2,T3)