From 6279fa19ac6e2a4087df2e6fe985430ecc2c2d5d Mon Sep 17 00:00:00 2001 From: kinitrupti Date: Fri, 12 May 2017 18:53:46 +0530 Subject: Removed duplicates --- .../Chapter_19.ipynb | 145 --------------------- 1 file changed, 145 deletions(-) delete mode 100755 backup/Mechanical_Metallurgy_version_backup/Chapter_19.ipynb (limited to 'backup/Mechanical_Metallurgy_version_backup/Chapter_19.ipynb') diff --git a/backup/Mechanical_Metallurgy_version_backup/Chapter_19.ipynb b/backup/Mechanical_Metallurgy_version_backup/Chapter_19.ipynb deleted file mode 100755 index 33c96b04..00000000 --- a/backup/Mechanical_Metallurgy_version_backup/Chapter_19.ipynb +++ /dev/null @@ -1,145 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Chapter 19: Drawing of Rods, Wires and Tubes" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "### Example 19.1, Analysis of Wiredrawing, Page No. 640" - ] - }, - { - "cell_type": "code", - "execution_count": 1, - "metadata": { - "collapsed": false - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "Drawing Stress = 240.422 MPa\n", - "Drawing Force = 12.0849 kN\n", - "Power = 36.2548 kW\n", - "Horsepower = 48.599 hp\n" - ] - } - ], - "source": [ - "from math import pi\n", - "from math import radians\n", - "from math import tan\n", - "from math import log\n", - "\n", - "#variable declaration\n", - "def cot(x):\n", - " return 1/tan(x);\n", - "Ab=10;\n", - "r=0.2;\n", - "alpha=12;\n", - "mu=0.09;\n", - "n=0.3;\n", - "K=1300;\n", - "v=3;\n", - "\n", - "#calculation\n", - "alpha=radians(alpha);\n", - "B=mu*cot(alpha/2);\n", - "e1=log(1/(1-r));\n", - "sigma=K*e1**0.3/(n+1);\n", - "Aa=Ab*(1-r);\n", - "sigma_xa=sigma*((1+B)/B)*(1-(Aa/Ab)**B);\n", - "Aa=pi*Aa**2/4;\n", - "Pd=sigma_xa*Aa;\n", - "Pd=Pd/1000; #conversion to kilo units\n", - "P=Pd*v;\n", - "H=P/0.746;\n", - "\n", - "#result\n", - "print('\\nDrawing Stress = %g MPa\\nDrawing Force = %g kN\\nPower = %g kW\\nHorsepower = %g hp')%(sigma_xa,Pd,P,H);" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "### Example 19.2, Analysis of Wiredrawing, Page No. 645" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "metadata": { - "collapsed": false - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "By First Approximation, r = 0.514412\n", - "By Second Approximation, r = 0.830601\n" - ] - } - ], - "source": [ - "from math import radians\n", - "from math import tan\n", - "from math import log\n", - "\n", - "#variable declaration\n", - "def cot(x):\n", - " return 1/tan(x);\n", - "alpha=12;\n", - "r=0.2;\n", - "mu=0.09;\n", - "n=0.3;\n", - "K=1300;\n", - "v=3;\n", - "\n", - "#calculation\n", - "alpha=radians(alpha);\n", - "B=mu*cot(alpha/2);\n", - "e1=log(1/(1-r));\n", - "sigma_xa=K*e1**0.3/(n+1);\n", - "r1=1-((1-(B/(B+1)))**(1/B));\n", - "e=log(1/(1-r1));\n", - "sigma0=1300*e**0.3;\n", - "r2=1-(1-((sigma0/sigma_xa)*(B/(B+1)))**(1/B));\n", - "\n", - "#result\n", - "print('\\nBy First Approximation, r = %g\\nBy Second Approximation, r = %g')%(r1,r2);" - ] - } - ], - "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 -} -- cgit