diff options
author | kinitrupti | 2017-05-12 18:40:35 +0530 |
---|---|---|
committer | kinitrupti | 2017-05-12 18:40:35 +0530 |
commit | d36fc3b8f88cc3108ffff6151e376b619b9abb01 (patch) | |
tree | 9806b0d68a708d2cfc4efc8ae3751423c56b7721 /backup/RavirajJadeja_version_backup | |
parent | 1b1bb67e9ea912be5c8591523c8b328766e3680f (diff) | |
download | Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.tar.gz Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.tar.bz2 Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.zip |
Revised list of TBCs
Diffstat (limited to 'backup/RavirajJadeja_version_backup')
-rwxr-xr-x | backup/RavirajJadeja_version_backup/ch16.ipynb | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/backup/RavirajJadeja_version_backup/ch16.ipynb b/backup/RavirajJadeja_version_backup/ch16.ipynb new file mode 100755 index 00000000..2b395898 --- /dev/null +++ b/backup/RavirajJadeja_version_backup/ch16.ipynb @@ -0,0 +1,64 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:3c3856bc217e5f495e078375001a6745906e09c45dfca2c5d1fe105500ef94b8" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 16 : Machinery and Equipment" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 16.2 Page No : 16-11" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "\t\n", + "#initialisation of variables\n", + "p = 500\t#ft\n", + "p1 = 6\t#in\n", + "t = 500\t#cfm\n", + "p2 = 7\t#psig\n", + "P = p2+14.7\t#psia\n", + "T = 520*(P/14.7)**0.283\t#F\n", + "f = 0.048*p1**0.027/(t)**0.148\t#in\n", + "\t\n", + "#CALCULATIONS\n", + "delP = 20.*10**-3*p*T*(t)**2/(38*10**3*P*p1**5)\t#psia\n", + "\t\n", + "#RESULTS\n", + "print 'the pressure drop = %.2f psia'%(delP)\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "the pressure drop = 0.23 psia\n" + ] + } + ], + "prompt_number": 1 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file |