{ "metadata": { "name": "", "signature": "sha256:b60753ad5256b26ed900efc57b1a6de06dc4217fa7384fe1bb9afe99a185fc77" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Chapter13-Elements of reinforced concrete" ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Ex1-486" ] }, { "cell_type": "code", "collapsed": false, "input": [ "import math\n", "#calculate The stress induced in the concrete and steel and \n", "b = 10.;##inches\n", "d = 1.;##inches\n", "h = 20.;##inches\n", "r = 2.;##inches\n", "M_r = 500000.;##lb-inches\n", "m = 15.;\n", "A_r = 4.*0.25*math.pi*d**2;##in^2\n", "h_eff = h-r;##inches\n", "K = m*A_r/(b*h_eff);##inches\n", "n1 = math.sqrt((K)**2+(2*K))-K;\n", "n = n1*h_eff;##inches\n", "a = h_eff-(n/3);##inches\n", "c = 2.*M_r/(b*n*a);##lb/in^2\n", "t = (h_eff-n)*m*c/n;##lb/in^2\n", "print'%s %.d %s'%('The stress induced in the concrete and steel, t =',t,'lb/in^2');\n", "\n", "##there is a minute error in the answer given in textbook.\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "The stress induced in the concrete and steel, t = 10643 lb/in^2\n" ] } ], "prompt_number": 1 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Ex2-pg487" ] }, { "cell_type": "code", "collapsed": false, "input": [ "import math\n", "#calculate The distance of the N.A from the top edge and The safe moment of inertia and The safe moment of inertia\n", "b = 8.;##inches\n", "d = 7/8.;##inches\n", "h = 18.;##inches\n", "r = 2.;##inches\n", "c = 750.;##lb/in^2\n", "t_limit = 18000.;##lb/in^2\n", "m = 8.;\n", "h_eff = 16.;##inches\n", "m = 18;\n", "A_t = 3*0.25*math.pi*d**2;##in^2\n", "K = m*A_t/(b*h_eff);##inches\n", "n1 = math.sqrt((K)**2.+(2.*K))-K;\n", "n = n1*h_eff;##inches\n", "a = h_eff - (n/3.);##inches\n", "t = m*c*(h_eff-n)/n;##lb/in^2\n", "\n", "if t