summaryrefslogtreecommitdiff
path: root/Machine_Design_by_U.C._Jindal/Ch5_1.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-03-24 23:30:28 +0600
committerTrupti Kini2016-03-24 23:30:28 +0600
commit7de80773eb585bea9ddf41f51f8dd37d858a7cfe (patch)
treebb9849b7c9378a0f8db058d0406b6e74422a8e14 /Machine_Design_by_U.C._Jindal/Ch5_1.ipynb
parent1f1d282adae8bfa6abd31d59f4985279777cb0e3 (diff)
downloadPython-Textbook-Companions-7de80773eb585bea9ddf41f51f8dd37d858a7cfe.tar.gz
Python-Textbook-Companions-7de80773eb585bea9ddf41f51f8dd37d858a7cfe.tar.bz2
Python-Textbook-Companions-7de80773eb585bea9ddf41f51f8dd37d858a7cfe.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/Ch5_1.ipynb')
-rw-r--r--Machine_Design_by_U.C._Jindal/Ch5_1.ipynb258
1 files changed, 258 insertions, 0 deletions
diff --git a/Machine_Design_by_U.C._Jindal/Ch5_1.ipynb b/Machine_Design_by_U.C._Jindal/Ch5_1.ipynb
new file mode 100644
index 00000000..30efcbab
--- /dev/null
+++ b/Machine_Design_by_U.C._Jindal/Ch5_1.ipynb
@@ -0,0 +1,258 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:5 Introduction to pressure vessels"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 5-1 - Page 138"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t1 is 3.83 mm \n",
+ "\n",
+ "t2 is 3.894 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "p=2#\n",
+ "Rm=220#\n",
+ "#tensile hoop or circumferential stress= sigt\n",
+ "sigr=-2#\n",
+ "#sigt=(p*Rm)/t#\n",
+ "Sa=230/2#\n",
+ "#t1=thickness according to maximum principal stress theory\n",
+ "#t2=thickness according to maximum shear stress theory\n",
+ "t1=(p*Rm)/Sa#\n",
+ "t2=(p*Rm)/(Sa+sigr)#\n",
+ "print \"t1 is %0.2f mm \"%(t1)#\n",
+ "print \"\\nt2 is %0.3f mm \"%(t2)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 5-2 - Page 139"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 17.0mm \n",
+ "\n",
+ "M is 2295.0mm \n",
+ "\n",
+ "sigb is 47.6mm \n",
+ "sigb is below allowable sigd.\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "from __future__ import division\n",
+ "#Elastic limit=sige\n",
+ "sige=310#\n",
+ "#inside diameter=di\n",
+ "di=300#\n",
+ "p=1.8#\n",
+ "FOS=2#\n",
+ "#design stress=sigd#\n",
+ "sigd=sige/2#\n",
+ "c=0.162#\n",
+ "d=380#\n",
+ "#cover plate thickness=t#\n",
+ "t=d*sqrt(c*p/sigd)#\n",
+ "t=17#\n",
+ "M=di*p*t/4#\n",
+ "\n",
+ "z=(1/6)*1*t**2#\n",
+ "#bending stress=sigb#\n",
+ "sigb=M/z#\n",
+ "print \"t is %0.1fmm \"%(t)#\n",
+ "print \"\\nM is %0.1fmm \"%(M)#\n",
+ "print \"\\nsigb is %0.1fmm \"%(sigb)#\n",
+ "if (sigb<=sigd):\n",
+ " print 'sigb is below allowable sigd.'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 5-3 - Page 140"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t1 is 24.0mm \n",
+ "\n",
+ "t2 is 30.206mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "sige=220#\n",
+ "v=0.29#\n",
+ "Ri=175#\n",
+ "FOS=3#\n",
+ "Sa=sige/3#\n",
+ "p=10#\n",
+ "#t1=thickness according to maximum principal stress theory\n",
+ "#t2=thickness according to maximum shear stress theory\n",
+ "x=Sa+(p*(1-(2*v)))#\n",
+ "y=Sa-(p*(1+v))#\n",
+ "t1=(sqrt(x/y)-1)*Ri#\n",
+ "t1=24#\n",
+ "#t1=((sqrt((Sa+(p*(1-(2*v)))))/(Sa-(p*(1+v))))-1)*Ri#\n",
+ "t2=Ri*((sqrt(Sa/(Sa-(2*p))))-1)#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"t1 is %0.1fmm \"%(t1)#\n",
+ "print \"\\nt2 is %0.3fmm \"%(t2)#\n",
+ "#The answer to t2 is not calculated in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 5-4 - Page 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 50.0mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "p=16#\n",
+ "Ri=250#\n",
+ "#Yield strength =sigy#\n",
+ "sigy=330#\n",
+ "v=0.3#\n",
+ "FOS=3#\n",
+ "Sa=sigy/3#\n",
+ "t=Ri*((sqrt(Sa/(Sa-(2*p))))-1)#\n",
+ "t=50#\n",
+ "\n",
+ "print \"t is %0.1fmm \"%(t)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 5-5 - Page 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "kb is 1546.253 N/mm \n",
+ "\n",
+ "The combines stiffness of bolt and gasket is 84.823 kN/mm\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "d=15#\n",
+ "Eg=480#\n",
+ "t=3#\n",
+ "#flange thickness=ft#\n",
+ "ft=12#\n",
+ "A=pi*d**2/4#\n",
+ "l=d+t+(ft/2)#\n",
+ "E=210#\n",
+ "kb=A*E/l#\n",
+ "#effective area of gasket=Ag#\n",
+ "Ag=pi*(((ft+t+d)**2)-(d**2))/4#\n",
+ "kg=Ag*Eg/t#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"kb is %0.3f N/mm \"%(kb)#\n",
+ "kb=kb*10**-3#\n",
+ "kg=kg*10**-3#\n",
+ "if (kb<=kg):\n",
+ " print \"\\nThe combines stiffness of bolt and gasket is %0.3f kN/mm\"%(kg)\n",
+ "\n",
+ "\n",
+ "#The difference in the value of kb is due to rounding-off the value of A \n",
+ " "
+ ]
+ }
+ ],
+ "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
+}