summaryrefslogtreecommitdiff
path: root/Strength_of_Materials_by_Dr.R.K.Bansal/chapter10.ipynb
diff options
context:
space:
mode:
authorkinitrupti2017-05-12 18:53:46 +0530
committerkinitrupti2017-05-12 18:53:46 +0530
commit6279fa19ac6e2a4087df2e6fe985430ecc2c2d5d (patch)
tree22789c9dbe468dae6697dcd12d8e97de4bcf94a2 /Strength_of_Materials_by_Dr.R.K.Bansal/chapter10.ipynb
parentd36fc3b8f88cc3108ffff6151e376b619b9abb01 (diff)
downloadPython-Textbook-Companions-6279fa19ac6e2a4087df2e6fe985430ecc2c2d5d.tar.gz
Python-Textbook-Companions-6279fa19ac6e2a4087df2e6fe985430ecc2c2d5d.tar.bz2
Python-Textbook-Companions-6279fa19ac6e2a4087df2e6fe985430ecc2c2d5d.zip
Removed duplicates
Diffstat (limited to 'Strength_of_Materials_by_Dr.R.K.Bansal/chapter10.ipynb')
-rwxr-xr-xStrength_of_Materials_by_Dr.R.K.Bansal/chapter10.ipynb86
1 files changed, 86 insertions, 0 deletions
diff --git a/Strength_of_Materials_by_Dr.R.K.Bansal/chapter10.ipynb b/Strength_of_Materials_by_Dr.R.K.Bansal/chapter10.ipynb
new file mode 100755
index 00000000..5b3303b1
--- /dev/null
+++ b/Strength_of_Materials_by_Dr.R.K.Bansal/chapter10.ipynb
@@ -0,0 +1,86 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:eb79edf44fe3869f7971ad4e31d339c536c40824da513e054e2534b46f2f0fbe"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10:Dams and Retaining Walls"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Problem 10.19,page no.459"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "import math\n",
+ "#Given\n",
+ "#Variable declaration\n",
+ "h=20 #height in m\n",
+ "D=4 #External diameter in m\n",
+ "d=2 #Internal diameter in m\n",
+ "p=1 #Horizontal wind pressure in kN/sq.m\n",
+ "w=22 #specific weight in kN/m^3 \n",
+ "K=2/3 #Co-efficient of wind resistance\n",
+ "\n",
+ "#Calculation\n",
+ "A1=(math.pi/4)*(D**2-d**2) #Area of cross-section\n",
+ "W=w*A1*h #Weigth of the chimney in kN\n",
+ "sigma0=W/A1 #Direct stress in kN/sq.mm\n",
+ "A2=D*h #Projected area of the surface exposed to wind in sq.m\n",
+ "F=K*p*A2 #Wind Force in kN\n",
+ "M=F*h/2 #Bending moment in kNm\n",
+ "I=(math.pi/64)*(D**4-d**4) #Moment of inertia\n",
+ "y=D/2 #Distance between C.G. of the base section and extreme edge of the base\n",
+ "Z=I/y #Section modulus\n",
+ "sigmab=M/Z #Bending stress \n",
+ "sigma_max=round(sigma0+sigmab,2) #Maximum stress in kN/sq.m\n",
+ "sigma_min=round(sigma0-sigmab,2) #Minimum stress in kN/sq.m\n",
+ "\n",
+ "#Result\n",
+ "print\"Maximum stress =\",sigma_max,\"kN/m^2\"\n",
+ "print\"Minimum stress =\",sigma_min,\"kN/m^2\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum stress = 530.54 kN/m^2\n",
+ "Minimum stress = 349.46 kN/m^2\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file