diff options
author | kinitrupti | 2017-05-12 18:40:35 +0530 |
---|---|---|
committer | kinitrupti | 2017-05-12 18:40:35 +0530 |
commit | 64d949698432e05f2a372d9edc859c5b9df1f438 (patch) | |
tree | 012fd5b4ac9102cdcf5bc56305e49d6714fa5951 /Mechanical_Metallurgy_by_George_E._Dieter/Chapter_20.ipynb | |
parent | 9c6ab8cbf3e1a84c780386abf4852d84cdd32d56 (diff) | |
download | Python-Textbook-Companions-64d949698432e05f2a372d9edc859c5b9df1f438.tar.gz Python-Textbook-Companions-64d949698432e05f2a372d9edc859c5b9df1f438.tar.bz2 Python-Textbook-Companions-64d949698432e05f2a372d9edc859c5b9df1f438.zip |
Revised list of TBCs
Diffstat (limited to 'Mechanical_Metallurgy_by_George_E._Dieter/Chapter_20.ipynb')
-rwxr-xr-x | Mechanical_Metallurgy_by_George_E._Dieter/Chapter_20.ipynb | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/Mechanical_Metallurgy_by_George_E._Dieter/Chapter_20.ipynb b/Mechanical_Metallurgy_by_George_E._Dieter/Chapter_20.ipynb deleted file mode 100755 index 90519f65..00000000 --- a/Mechanical_Metallurgy_by_George_E._Dieter/Chapter_20.ipynb +++ /dev/null @@ -1,109 +0,0 @@ -{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "# Chapter 20: Sheet-Metal Forming"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "### Example 20.1, Deep Drawing, Page No. 672"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "\n",
- "Limiting ratio = 1.98104\n"
- ]
- }
- ],
- "source": [
- "from math import log\n",
- "\n",
- "#variable declaration\n",
- "le=0.3;\n",
- "wd=-0.16;\n",
- "\n",
- "#calcualtion\n",
- "l_l0=1+le;\n",
- "w_w0=1+wd;\n",
- "R=log(1/w_w0)/log((w_w0)*l_l0);\n",
- "\n",
- "#result\n",
- "print('\\nLimiting ratio = %g')%(R);"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "### Example 20.2, Forming Limit Criteria, Page No. 675"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 2,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "\n",
- "Major Strain = 80 percent \n",
- "Minor Strain = -20 percent\n"
- ]
- }
- ],
- "source": [
- "#variable declaration\n",
- "d=0.1;\n",
- "mj_d=0.18;\n",
- "mn_d=0.08;\n",
- "\n",
- "#calculation\n",
- "e1=(mj_d-d)/d;\n",
- "e2=(mn_d-d)/d;\n",
- "\n",
- "#result\n",
- "print('\\nMajor Strain = %g percent \\nMinor Strain = %g percent')%(e1*100,e2*100);"
- ]
- }
- ],
- "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
-}
|