diff options
author | Jovina Dsouza | 2014-06-18 12:43:07 +0530 |
---|---|---|
committer | Jovina Dsouza | 2014-06-18 12:43:07 +0530 |
commit | 206d0358703aa05d5d7315900fe1d054c2817ddc (patch) | |
tree | f2403e29f3aded0caf7a2434ea50dd507f6545e2 /Mechanics_of_Materials/chapter4.ipynb | |
parent | c6f0d6aeb95beaf41e4b679e78bb42c4ffe45a40 (diff) | |
download | Python-Textbook-Companions-206d0358703aa05d5d7315900fe1d054c2817ddc.tar.gz Python-Textbook-Companions-206d0358703aa05d5d7315900fe1d054c2817ddc.tar.bz2 Python-Textbook-Companions-206d0358703aa05d5d7315900fe1d054c2817ddc.zip |
adding book
Diffstat (limited to 'Mechanics_of_Materials/chapter4.ipynb')
-rw-r--r-- | Mechanics_of_Materials/chapter4.ipynb | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/Mechanics_of_Materials/chapter4.ipynb b/Mechanics_of_Materials/chapter4.ipynb new file mode 100644 index 00000000..e9b7e3e0 --- /dev/null +++ b/Mechanics_of_Materials/chapter4.ipynb @@ -0,0 +1,116 @@ +{ + "metadata": { + "name": "" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 4: Shear Forces and Bending Moments" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 4.3, page no. 275" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "\"\"\"\n", + "Finding shear force V and bending movement M at cross section D located 115 ft from left-hand behind support\n", + "\"\"\"\n", + "\n", + "import math\n", + "\n", + "#initialisation\n", + "\n", + "q = 0.2 # Uniform load intensity in K/ft\n", + "P = 14 # Concentrated load in k\n", + "Ra = 11 # Reaction at A from wquation of equilibrium\n", + "Rb = 9 # Reaction at B from wquation of equilibrium\n", + "\n", + "#calculation\n", + "V = 11 - 14 - (0.2*15) # shear force in k\n", + "\n", + "print \"Shear force at section D\", V, \"k\"\n", + "M = (11*15)-(14*6)-(0.2*15*7.5) # Bending moment in K-ft\n", + "print \"Bending moment at section D\", M, \"k-ft\"\n", + "V1 = -9+(0.2*15) # Shear firce from alternative method in k\n", + "M1 = (9*9)-(0.2*7.5*15) # Bending moment from alternative method in k-ft" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Shear force at section D -6.0 k\n", + "Bending moment at section D 58.5 k-ft\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 4.7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "\"\"\"\n", + "Shear force and bending moments\n", + "\"\"\"\n", + "\n", + "import math \n", + "\n", + "#initialisation\n", + "\n", + "q = 1 # Uniform load intensity in k/ft\n", + "M0 = 12 # Couple in k-ft\n", + "Rb = 5.25 # Reaction at B in k\n", + "Rc = 1.25 # Reaction at C in k\n", + "b = 4 # Length of section AB in ft\n", + "\n", + "#calculation\n", + "\n", + "Mb = -(q*(b**2))/2 # Moment acting at B\n", + "\n", + "#Result\n", + "print \"Bending moment at B\", Mb, \"k-ft\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Bending moment at B -8 k-ft\n" + ] + } + ], + "prompt_number": 2 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file |