summaryrefslogtreecommitdiff
path: root/Machine_Design_by_U.C._Jindal/Ch27_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/Ch27_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/Ch27_1.ipynb')
-rw-r--r--Machine_Design_by_U.C._Jindal/Ch27_1.ipynb468
1 files changed, 468 insertions, 0 deletions
diff --git a/Machine_Design_by_U.C._Jindal/Ch27_1.ipynb b/Machine_Design_by_U.C._Jindal/Ch27_1.ipynb
new file mode 100644
index 00000000..adcb8623
--- /dev/null
+++ b/Machine_Design_by_U.C._Jindal/Ch27_1.ipynb
@@ -0,0 +1,468 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:27 Straight bevel gears"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-1 - Page 712"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Pt is 1061 N \n",
+ "\n",
+ "Ps is 386.18 N \n",
+ "\n",
+ "Pr is 345.41 N \n",
+ "\n",
+ "Pa is 172.71 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "from __future__ import division\n",
+ "P=8000#\n",
+ "N1=400#\n",
+ "N2=200#\n",
+ "i=N1/N2# #i=Zg/Zp=dg/dp\n",
+ "gamma1=atan(1/i)#\n",
+ "gamma2=90-gamma1#\n",
+ "rp=200#\n",
+ "R=rp/sin(gamma1)#\n",
+ "b=0.2*R#\n",
+ "rm1=rp-(b*sin(gamma1)/2)#\n",
+ "Pt=P*1000*60/(2*pi*N1*rm1)#\n",
+ "alpha=20*pi/180#\n",
+ "Ps=Pt*tan(alpha)#\n",
+ "Pr=Ps*cos(gamma1)#\n",
+ "Pa=Ps*sin(gamma1)#\n",
+ "print \"Pt is %0.0f N \"%(Pt)#\n",
+ "print \"\\nPs is %0.2f N \"%(Ps)#\n",
+ "print \"\\nPr is %0.2f N \"%(Pr)#\n",
+ "print \"\\nPa is %0.2f N \"%(Pa)#\n",
+ "\n",
+ "#The difference in the values is due to rounding-off of the values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-2 - Page 712"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Zpv is 22.88 \n",
+ "\n",
+ "Sb is 6653 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "alpha=20*pi/180#\n",
+ "Zp=20#\n",
+ "Zg=36#\n",
+ "m=4#\n",
+ "sigut=600#\n",
+ "b=25#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "gamma1=atan(rp/rg)#\n",
+ "Zpv=Zp/cos(gamma1)#\n",
+ "Y=0.33+0.003*0.88#\n",
+ "sigb=sigut/3#\n",
+ "Sb=m*b*sigb*Y#\n",
+ "print \"Zpv is %0.2f \"%(Zpv)#\n",
+ "print \"\\nSb is %0.0f N \"%(Sb)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-3 - Page 712"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "gamma1 is 33.7 deg \n",
+ "\n",
+ "gamma2 is 56.3 deg \n",
+ "\n",
+ "R is 162.25 mm \n",
+ "\n",
+ "FCA is 35.808 deg \n",
+ "\n",
+ "RCA is 31.04 deg \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos,asin\n",
+ "m=6#\n",
+ "Zp=30#\n",
+ "Zg=45#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "R=sqrt(rg**2+rp**2)#\n",
+ "gamma1=180/pi*asin(rp/R)#\n",
+ "gamma2=(90-gamma1)#\n",
+ "ha=6#\n",
+ "hf=1.25*ha#\n",
+ "phi=180/pi*atan(ha/R)#\n",
+ "beta=180/pi*atan(hf/R)#\n",
+ "#let Face Cone Angle be FCA\n",
+ "FCA=(gamma1+phi)#\n",
+ "#Let Root cone angle be RCA\n",
+ "RCA=(gamma1-beta)#\n",
+ "print \"gamma1 is %0.1f deg \"%(gamma1)#\n",
+ "print \"\\ngamma2 is %0.1f deg \"%(gamma2)#\n",
+ "print \"\\nR is %0.2f mm \"%(R)#\n",
+ "print \"\\nFCA is %0.3f deg \"%(FCA)#\n",
+ "print \"\\nRCA is %0.2f deg \"%(RCA)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-4 - Page 713"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Sw is 12142.4 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "alpha=20*pi/180#\n",
+ "Zp=25#\n",
+ "Zg=40#\n",
+ "m=5#\n",
+ "b=30#\n",
+ "BHN=400#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "gamma1=atan(rp/rg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "Sw=0.75*b*dp*Q*K/cos(pi/180*gamma1)#\n",
+ "print \"Sw is %0.1f N \"%(Sw)#\n",
+ " \n",
+ " #The difference in the value of Sw is due to rounding-off of the value of Q."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-5 - Page 713"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Sb is 4633 N \n",
+ "\n",
+ "Sw is 5438.0 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "Zp=20#\n",
+ "Zg=36#\n",
+ "m=4#\n",
+ "b=25#\n",
+ "BHN=360#\n",
+ "Np=750#\n",
+ "FOS=1.75#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "gamma1=atan(dp/dg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(pi/180*gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "R=sqrt(rp**2+rg**2)#\n",
+ "Y=0.33+0.003*0.86#\n",
+ "sigut=600#\n",
+ "sigb=sigut/3#\n",
+ "Sb=m*b*Y*sigb*(1-(b/R))#\n",
+ "Sw=0.75*b*dp*Q*K/cos(pi/180*gamma1)#\n",
+ "print \"Sb is %0.0f N \"%(Sb)#\n",
+ "print \"\\nSw is %0.1f N \"%(Sw)#\n",
+ "\n",
+ "#The answwer to Sb is calculated incorrectly in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-6 - Page 713"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "m*Y is 2.613 mm**2 \n",
+ "\n",
+ "m is 6 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "Dp=300#\n",
+ "rp=150#\n",
+ "#Let the angular velocity ratio be i\n",
+ "i=2/3#\n",
+ "rg=rp/i#\n",
+ "Dg=2*rg#\n",
+ "R=sqrt(rp**2+rg**2)#\n",
+ "P=15000#\n",
+ "N=300#\n",
+ "Cs=1.5#\n",
+ "FOS=2#\n",
+ "sigb=100#\n",
+ "gamma1=atan(Dp/Dg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "v=2*pi*N*rp/(60*1000)#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Pt=P/v#\n",
+ "Peff=Pt*Cs/Cv#\n",
+ "Sb=Peff*FOS#\n",
+ "b=R/4#\n",
+ "#let x=m*Y\n",
+ "x=Sb/(b*sigb*(1-(b/R)))#\n",
+ "m=6#\n",
+ "print \"m*Y is %0.3f mm**2 \"%(x)#\n",
+ "print \"\\nm is %0.0f mm \"%(m)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-7 - Page 714"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "m is 4 mm \n",
+ "\n",
+ "BHN is 189 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "Zp=24#\n",
+ "Zg=36#\n",
+ "N=1400#\n",
+ "P=11600#\n",
+ "Cs=1.4#\n",
+ "FOS=2#\n",
+ "sigut=600#\n",
+ "sigb=sigut/3#\n",
+ "gamma1=atan(Zp/Zg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(pi/180*gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "v=1.76#\n",
+ "Pt=P/v#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Peff=Pt*Cs/Cv#\n",
+ "x=Peff*FOS#\n",
+ "Y=0.352+(0.003*0.85)#\n",
+ "y=2*sigb*Y*(1-(6/21.63))#\n",
+ "m=sqrt(x/y)#\n",
+ "# Design is safe for m=4\n",
+ "m=4#\n",
+ "b=6*m#\n",
+ "dp=24*m#\n",
+ "rp=48#\n",
+ "dp=dp/cos(pi/180*gamma1)#\n",
+ "v=2*pi*N*rp/(60*1000)#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Sb=y*m**2#\n",
+ "#Sw=Sb#\n",
+ "K=Sb/(0.75*b*dp*Q)#\n",
+ "BHN=sqrt(K/0.16)*100#\n",
+ "print \"m is %0.0f mm \"%(m)#\n",
+ "print \"\\nBHN is %0.0f \"%(BHN)#\n",
+ " \n",
+ "#The answwer to BHN is calculated incorrectly in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-8 - Page 714"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "m is 6 mm \n",
+ "\n",
+ "b is 36 mm \n",
+ "\n",
+ "R is 216 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "Zp=40#\n",
+ "Zg=60#\n",
+ "P=3500#\n",
+ "N=600#\n",
+ "Cs=1.5#\n",
+ "sigb=55#\n",
+ "gamma1=atan(Zp/Zg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(pi/180*gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "# Design is safe for m=6\n",
+ "m=6#\n",
+ "b=6*m#\n",
+ "dp=Zp*m#\n",
+ "rp=dp/2#\n",
+ "dg=Zg*m#\n",
+ "rg=dg/2#\n",
+ "R=sqrt(rp**2+rg**2)#\n",
+ "print \"m is %0.0f mm \"%(m)#\n",
+ "print \"\\nb is %0.0f mm \"%(b)#\n",
+ "print \"\\nR is %0.0f mm \"%(R)#"
+ ]
+ }
+ ],
+ "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
+}