summaryrefslogtreecommitdiff
path: root/698/CH17/EX17.2/P2_spur_gear_reducer.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /698/CH17/EX17.2/P2_spur_gear_reducer.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 '698/CH17/EX17.2/P2_spur_gear_reducer.sce')
-rw-r--r--698/CH17/EX17.2/P2_spur_gear_reducer.sce41
1 files changed, 41 insertions, 0 deletions
diff --git a/698/CH17/EX17.2/P2_spur_gear_reducer.sce b/698/CH17/EX17.2/P2_spur_gear_reducer.sce
new file mode 100644
index 000000000..1754f24c9
--- /dev/null
+++ b/698/CH17/EX17.2/P2_spur_gear_reducer.sce
@@ -0,0 +1,41 @@
+clc
+//Example 17.2
+//Spur gear reducer
+
+//------------------------------------------------------------------------------
+
+//Given data
+//Power transmitted
+P=5000 //W
+//Speed
+N=1440 //rpm
+w=(2*%pi*N)/60
+//Gear ratio
+G=3
+//Teeth on pinion
+Np=20
+//Pressure angle
+phi=20 //degrees
+//module
+m=5 //mm
+
+res2=mopen(TMPDIR+'2_spur_gear_reducer.txt','wt')
+
+//Torque
+Mt=P/w
+mfprintf(res2,'(a) Torque=P*60/ 2*pi*N\n\tMt=%0.3f Nm\n\n',Mt)
+
+//radius of pinion
+rp=m*Np* 10^-3 /2
+//Tangential force
+Ft=Mt/rp
+mfprintf(res2,'(b)Tangential Force on Gears Ft=Mt/rp\n\tFt=%0.1f N\n\n',Ft)
+
+//Radial Force on gears
+Fr=Ft*tand(phi)
+mfprintf(res1,'Radial force Fr=Ft*tan(phi)\n\tFr=%0.2f N',Fr)
+
+mclose(res2)
+editor(TMPDIR+'2_spur_gear_reducer.txt')
+//------------------------------------------------------------------------------
+//-----------------------------End of program-----------------------------------