diff options
author | Trupti Kini | 2016-09-24 23:30:26 +0600 |
---|---|---|
committer | Trupti Kini | 2016-09-24 23:30:26 +0600 |
commit | a15adea19e43548c8ba5fbc11a97f84dad2ada3a (patch) | |
tree | efcd8d1507d6daaaa069d0786f53793c89240eea /Thermodynamics_by_Gaggioli_and_Obert/ch10.ipynb | |
parent | 67b852f00a31161aa8cb648515fbef95adfa5afc (diff) | |
download | Python-Textbook-Companions-a15adea19e43548c8ba5fbc11a97f84dad2ada3a.tar.gz Python-Textbook-Companions-a15adea19e43548c8ba5fbc11a97f84dad2ada3a.tar.bz2 Python-Textbook-Companions-a15adea19e43548c8ba5fbc11a97f84dad2ada3a.zip |
Added(A)/Deleted(D) following books
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter10_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter11_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter12_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter13_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter14_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter15_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter16_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter2_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter3_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter4_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter5_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter6_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter7_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter8_1.ipynb
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/screenshots/2correlationCoeff_1.png
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/screenshots/2expansionofSignal_1.png
A Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/screenshots/2timeInvertedsignal_1.png
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter10_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter11_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter15_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter1_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter2_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter3_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter5_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter6_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter7_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter8_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter9_1.ipynb
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/screenshots/ctftch1.png
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/screenshots/fourierTransch1.png
A Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/screenshots/modulatedWaveChap3_1.png
A Thermodynamics_by_Gaggioli_and_Obert/Ch18.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/Ch8.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch1.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch10.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch11.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch12.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch13.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch14.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch15.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch16.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch17.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch2.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch3.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch5.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch7.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/ch9.ipynb
A Thermodynamics_by_Gaggioli_and_Obert/screenshots/changeInMoisture14.png
A Thermodynamics_by_Gaggioli_and_Obert/screenshots/degreeOfSaturation14.png
A Thermodynamics_by_Gaggioli_and_Obert/screenshots/humidityratio14.png
Diffstat (limited to 'Thermodynamics_by_Gaggioli_and_Obert/ch10.ipynb')
-rw-r--r-- | Thermodynamics_by_Gaggioli_and_Obert/ch10.ipynb | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/Thermodynamics_by_Gaggioli_and_Obert/ch10.ipynb b/Thermodynamics_by_Gaggioli_and_Obert/ch10.ipynb new file mode 100644 index 00000000..4ac6845c --- /dev/null +++ b/Thermodynamics_by_Gaggioli_and_Obert/ch10.ipynb @@ -0,0 +1,157 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter 10 The pvt relationships" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Ex:10.1 Pg:360" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "For ideal gas case, Table B-6 and for vanderwaals case, Table B-8 have been used\n", + "\n", + " In vanderwaals equation, pressure = 50.0 atm\n", + "\n", + " In ideal gas case, pressure = 57.8 atm\n" + ] + } + ], + "source": [ + "#Initialization of variables\n", + "m=1 #lbm\n", + "T1=212+460 #R\n", + "sv=0.193 #ft**3/lbm\n", + "M=44\n", + "a=924.2 #atm ft**2 /mole**2\n", + "b=0.685 #ft**3/mol\n", + "R=0.73 #atm ft**3/R mol\n", + "#calculations\n", + "v=sv*M\n", + "p=R*T1/v\n", + "p2=R*T1/(v-b) -a/v**2\n", + "#results\n", + "print \"For ideal gas case, Table B-6 and for vanderwaals case, Table B-8 have been used\"\n", + "print \"\\n In vanderwaals equation, pressure = %.1f atm\"%(p2)\n", + "print \"\\n In ideal gas case, pressure = %.1f atm\"%(p)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Ex:10.2 Pg:360" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "volume = 8.481 ft**3/mole\n" + ] + } + ], + "source": [ + "#Initialization of variables\n", + "m=1 #lbm\n", + "p=50.9 #atm\n", + "t=212+460 #R\n", + "R=0.73\n", + "#calculations\n", + "pc=72.9 #atm\n", + "tc=87.9 +460 #R\n", + "pr=p/pc\n", + "Tr=t/tc\n", + "z=0.88\n", + "v=z*R*t/p\n", + "#results\n", + "print \"volume = %.3f ft**3/mole\"%(v)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Ex:10.3 Pg:361" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Pressure = 50.8 atm\n" + ] + } + ], + "source": [ + "#Initialization of variables\n", + "t=212+460 #R\n", + "v=0.193 #ft**3/lbm\n", + "M=44\n", + "R=0.73\n", + "#calculations\n", + "tc=87.9+460 #F\n", + "zc=0.275\n", + "vc=1.51 #ft**3/mol\n", + "tr=t/tc\n", + "vr=v*M/vc\n", + "vrd=vr*zc\n", + "z=0.88\n", + "p=z*R*t/(M*v)\n", + "#results\n", + "print \"Pressure = %.1f atm\"%(p)" + ] + } + ], + "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 +} |