summaryrefslogtreecommitdiff
path: root/Machine_Design_by_U.C._Jindal/Ch16_1.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-03-24 23:30:28 +0600
committerTrupti Kini2016-03-24 23:30:28 +0600
commit1af80a22f9c11d7c73deb42ccc9859a9bf9dfe8b (patch)
tree7bdf9b414ff83bf82bfb3077b3ff151cc08c1d86 /Machine_Design_by_U.C._Jindal/Ch16_1.ipynb
parent18cbc0dd7321c83b3ee97f483269b49ece11c7c2 (diff)
downloadPython-Textbook-Companions-1af80a22f9c11d7c73deb42ccc9859a9bf9dfe8b.tar.gz
Python-Textbook-Companions-1af80a22f9c11d7c73deb42ccc9859a9bf9dfe8b.tar.bz2
Python-Textbook-Companions-1af80a22f9c11d7c73deb42ccc9859a9bf9dfe8b.zip
Added(A)/Deleted(D) following books
A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter3_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter4_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter5_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter6_1.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter7_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter9_1.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter10_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter12_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter13_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter14_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter15_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter16_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter17_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter19_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter20_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter21_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter22_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter23_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter24_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter25_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter26_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter27_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter28_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter29_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter30_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter31_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter32_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter33_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter34_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter35_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter36_2.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Clipper_waveform_1.png A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Gate_to_Source_Voltage_vs_Drain_Current_1.png A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/transconductance_curve_1.png A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter11_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter13_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter14_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter15_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter16_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter17_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter21_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter22_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter23_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter26_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter2_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter4_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter5_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/Chapter9_2.ipynb A A_Textbook_of_Production_Engineering_by_P._C._Sharma/screenshots/21AOQCurve_2.png A A_Textbook_of_Production_Engineering_by_P._C._Sharma/screenshots/21X&RChart_2.png A A_Textbook_of_Production_Engineering_by_P._C._Sharma/screenshots/22CuttingVvsCutterDia_2.png A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER01_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER02_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER03_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER04_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER07_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER09_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER11_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER15_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER16_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER18_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER19_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER20_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER23_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER24_1.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/screenshots/Capture02_1.png A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/screenshots/Capture04_1.png A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/screenshots/Capture20_1.png A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter2_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter3_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter4_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter6_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter7_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter8_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter9_2.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter2_2.png A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter3_2.png A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter4_2.png A Machine_Design_by_U.C._Jindal/Ch10_1.ipynb A Machine_Design_by_U.C._Jindal/Ch11_1.ipynb A Machine_Design_by_U.C._Jindal/Ch12_1.ipynb A Machine_Design_by_U.C._Jindal/Ch13_1.ipynb A Machine_Design_by_U.C._Jindal/Ch14_1.ipynb A Machine_Design_by_U.C._Jindal/Ch15_1.ipynb A Machine_Design_by_U.C._Jindal/Ch16_1.ipynb A Machine_Design_by_U.C._Jindal/Ch17_1.ipynb A Machine_Design_by_U.C._Jindal/Ch18_1.ipynb A Machine_Design_by_U.C._Jindal/Ch19_1.ipynb A Machine_Design_by_U.C._Jindal/Ch20_1.ipynb A Machine_Design_by_U.C._Jindal/Ch21_1.ipynb A Machine_Design_by_U.C._Jindal/Ch22_1.ipynb A Machine_Design_by_U.C._Jindal/Ch23_1.ipynb A Machine_Design_by_U.C._Jindal/Ch24_1.ipynb A Machine_Design_by_U.C._Jindal/Ch25_1.ipynb A Machine_Design_by_U.C._Jindal/Ch26_1.ipynb A Machine_Design_by_U.C._Jindal/Ch27_1.ipynb A Machine_Design_by_U.C._Jindal/Ch28_1.ipynb A Machine_Design_by_U.C._Jindal/Ch29_1.ipynb A Machine_Design_by_U.C._Jindal/Ch30_1.ipynb A Machine_Design_by_U.C._Jindal/Ch31_1.ipynb A Machine_Design_by_U.C._Jindal/Ch3_1.ipynb A Machine_Design_by_U.C._Jindal/Ch4_1.ipynb A Machine_Design_by_U.C._Jindal/Ch5_1.ipynb A Machine_Design_by_U.C._Jindal/Ch6_1.ipynb A Machine_Design_by_U.C._Jindal/Ch7_1.ipynb A Machine_Design_by_U.C._Jindal/Ch8_1.ipynb A Machine_Design_by_U.C._Jindal/Ch9_1.ipynb A Machine_Design_by_U.C._Jindal/screenshots/Chapter-3stressgraph_1.png A Machine_Design_by_U.C._Jindal/screenshots/Chapter-_8AdditionalLoad_1.png A Machine_Design_by_U.C._Jindal/screenshots/Chapter11_-_strengthofrevet_1.png A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter1_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter2_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter3_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter4_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter5_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/Chapter6_1.ipynb A Power_System_Operation_and_Control_by_B._R._Gupta/screenshots/Ch1-EnergyLadCurveAndMassCurve_1.png A Power_System_Operation_and_Control_by_B._R._Gupta/screenshots/Ch2-LoadGeneration_1.png A Power_System_Operation_and_Control_by_B._R._Gupta/screenshots/Ch2-ReceivedPower_1.png
Diffstat (limited to 'Machine_Design_by_U.C._Jindal/Ch16_1.ipynb')
-rw-r--r--Machine_Design_by_U.C._Jindal/Ch16_1.ipynb445
1 files changed, 445 insertions, 0 deletions
diff --git a/Machine_Design_by_U.C._Jindal/Ch16_1.ipynb b/Machine_Design_by_U.C._Jindal/Ch16_1.ipynb
new file mode 100644
index 00000000..bc87342d
--- /dev/null
+++ b/Machine_Design_by_U.C._Jindal/Ch16_1.ipynb
@@ -0,0 +1,445 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:16 Power screws"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-1 - Page 450"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Ttr is 110.148 Nm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import atan, pi, sqrt, tan\n",
+ "d=30#\n",
+ "W=20*10**3#\n",
+ "r1=8#\n",
+ "r2=16#\n",
+ "p=6#\n",
+ "u1=0.2#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "rm=(r1+r2)/2#\n",
+ "Ttr=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Ttr=Ttr*10**-3#\n",
+ "print \"Ttr is %0.3f Nm \"%(Ttr)#\n",
+ "#The answer to Ttr is slightly different than in the book due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-2 - Page 451"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Tr is 187.49 Nm \n",
+ "\n",
+ " Te is 51.691 Nm \n",
+ "\n",
+ " n is 0.3489 \n",
+ "\n",
+ " Ph is 624.96 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import cos,pi,atan,tan\n",
+ "d=50#\n",
+ "W=20*10**3#\n",
+ "r1=10#\n",
+ "r2=30#\n",
+ "p=7#\n",
+ "u1=0.12/cos(15*pi/180)#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(3*p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "rm=(r1+r2)/2#\n",
+ "Tr=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Tr=Tr*10**-3#\n",
+ "Te=W*((dm*tan(phi-alpha)/2)+(u2*rm))#\n",
+ "Te=Te*10**-3#\n",
+ "n=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm))#\n",
+ "L=0.30#\n",
+ "Ph=Tr/L#\n",
+ "print \" Tr is %0.2f Nm \"%(Tr)#\n",
+ "print \"\\n Te is %0.3f Nm \"%(Te)#\n",
+ "print \"\\n n is %0.4f \"%(n)#\n",
+ "print \"\\n Ph is %0.2f N \"%(Ph)#\n",
+ "#The answers to Tr, Te and Ph is slightly different than in the book due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-3 - Page 452"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Tr1 is 31.456 Nm \n",
+ "\n",
+ " n1 is 0.1265 \n",
+ "\n",
+ " T1 is 23.307 Nm \n",
+ "\n",
+ " n2 is 0.1707 \n",
+ "\n",
+ " Tr2 is 17.156 Nm \n",
+ "\n",
+ " n3 is 0.2319 \n",
+ "\n",
+ " Te is 9.007 Nm \n",
+ "\n",
+ " n4 is 0.4418 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan,tan\n",
+ "d=30#\n",
+ "W=5*10**3#\n",
+ "p=5#\n",
+ "rm=45/2#\n",
+ "u1=0.15/cos(14.5*pi/180)#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "Tr1=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Tr1=Tr1*10**-3#\n",
+ "n1=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm))#\n",
+ "T1=W*((dm*tan(phi-alpha)/2)+(u2*rm))#\n",
+ "T1=T1*10**-3#\n",
+ "n2=dm/2*tan(alpha)/(dm*tan(phi-alpha)/2+(u2*rm))#\n",
+ "u2=0.02#\n",
+ "Tr2=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Tr2=Tr2*10**-3#\n",
+ "n3=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm))#\n",
+ "Te=W*((dm*tan(phi-alpha)/2)+(u2*rm))#\n",
+ "Te=Te*10**-3#\n",
+ "n4=dm/2*tan(alpha)/(dm*tan(phi-alpha)/2+(u2*rm))#\n",
+ "print \" Tr1 is %0.3f Nm \"%(Tr1)#\n",
+ "print \"\\n n1 is %0.4f \"%(n1)#\n",
+ "print \"\\n T1 is %0.3f Nm \"%(T1)#\n",
+ "print \"\\n n2 is %0.4f \"%(n2)#\n",
+ "print \"\\n Tr2 is %0.3f Nm \"%(Tr2)#\n",
+ "print \"\\n n3 is %0.4f \"%(n3)#\n",
+ "print \"\\n Te is %0.3f Nm \"%(Te)#\n",
+ "print \"\\n n4 is %0.4f \"%(n4)#\n",
+ " \n",
+ " #The answer to T1 is misprinted in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-4 - Page 453"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "F is 7.299 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import tan,atan,pi\n",
+ "d=28#\n",
+ "P=300#\n",
+ "L=180#\n",
+ "p=8#\n",
+ "r1=16#\n",
+ "r2=46#\n",
+ "rm=(r1+r2)/2#\n",
+ "u1=0.12#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "T=P*L#\n",
+ "F=T/((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "F=F*10**-3#\n",
+ "print \"F is %0.3f kN \"%(F)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-5 - Page 453"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 23.6 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan,tan\n",
+ "d=25#\n",
+ "p=8#\n",
+ "F=392.4#\n",
+ "L=250#\n",
+ "l=p*2#\n",
+ "u=0.14#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(l/(pi*dm))#\n",
+ "phi=atan(u)#\n",
+ "T=dm*tan(alpha+phi)/2#\n",
+ "M=F*L#\n",
+ "P=M/T*10**-3#\n",
+ "print \"P is %0.1f kN \"%(P)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-6 - Page 454"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 0.07 KW \n",
+ "\n",
+ "n is 0.1659 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi,atan,tan\n",
+ "d=52#\n",
+ "W=2.2*10**3#\n",
+ "p=8#\n",
+ "r1=15#\n",
+ "r2=30#\n",
+ "rm=(r1+r2)/2#\n",
+ "u1=0.15/cos(14.5*pi/180)#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "Ts=W*dm*tan(alpha+phi)/2#\n",
+ "u2=0.12#\n",
+ "Tc=u2*W*rm#\n",
+ "T=10**-3*(Ts+Tc)#\n",
+ "N=40#\n",
+ "w=2*pi*N/60#\n",
+ "P=T*w*10**-3#\n",
+ "To=W*dm/2*tan(alpha)#\n",
+ "n=To/(T*10**3)#\n",
+ "print \"P is %0.2f KW \"%(P)#\n",
+ "print \"\\nn is %0.4f \"%(n)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-7 - Page 455"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 24 mm \n",
+ "\n",
+ "p is 5 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi,atan,tan\n",
+ "alpha=atan(2*0.2/(pi*0.9))#\n",
+ "u1=0.15#\n",
+ "phi=atan(u1)#\n",
+ "P=200#\n",
+ "L=250#\n",
+ "Tt=P*L#\n",
+ "W=10*10**3#\n",
+ "u2=0.15#\n",
+ "x=Tt/W#\n",
+ "d=x/0.1716#\n",
+ "d=30#\n",
+ "p=6#\n",
+ "dr=0.8*d#\n",
+ "d=24#\n",
+ "p=5#\n",
+ "dr=d-p#\n",
+ "dm=d-(p/2)#\n",
+ "print \"d is %0.0f mm \"%(d)#\n",
+ "print \"\\np is %0.0f mm \"%(p)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-8 - Page 456"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " T is 145.242 Nm \n",
+ "\n",
+ " n is 0.4751 \n",
+ "\n",
+ " a is 0.04894 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi,atan,tan\n",
+ "FOS=3#\n",
+ "sigut=380#\n",
+ "Ta=0.577*sigut/FOS#\n",
+ "d=25#\n",
+ "Tus=460#\n",
+ "Ps=pi*d*Tus#\n",
+ "siga=127#\n",
+ "dr=sqrt(Ps*4/(pi*siga))#\n",
+ "d=30#\n",
+ "p=6#\n",
+ "dr=d-p#\n",
+ "dm=d-(p/2)#\n",
+ "u1=0.15#\n",
+ "alpha=atan(p*2/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "T=Ps*dm*tan(alpha+phi)/2#\n",
+ "T1=16*T/(pi*dr**3)#\n",
+ "sigc=4*Ps/(pi*dr**2)#\n",
+ "sigmax=sigc/2+sqrt((sigc/2**2)+(T1**2))#\n",
+ "Tmax=sqrt((sigc/2**2)+(T1**2))#\n",
+ "n=tan(alpha)/tan(alpha+phi)#\n",
+ "Uo=Ps/2#\n",
+ "Ui=Uo/n#\n",
+ "wav=pi/2#\n",
+ "wmax=2*wav#\n",
+ "I=Ui*2/wmax**2#\n",
+ "k=0.4#\n",
+ "Ir=0.9*I*10**-3#\n",
+ "m=Ir/k**2#\n",
+ "R=0.4#\n",
+ "rho=7200#\n",
+ "a=sqrt(m/(2*pi*R*rho))#\n",
+ "T=T*10**-3#\n",
+ "print \" T is %0.3f Nm \"%(T)#\n",
+ "print \"\\n n is %0.4f \"%(n)#\n",
+ "print \"\\n a is %0.5f mm \"%(a)#\n",
+ " \n",
+ "#The difference in the answers of T is due to rounding-off of values."
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}