summaryrefslogtreecommitdiff
path: root/Thermodynamics_by_Gaggioli_and_Obert/ch17.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-09-24 23:30:26 +0600
committerTrupti Kini2016-09-24 23:30:26 +0600
commita54f67e8de857b73ac3af2ada963f8349b03de5d (patch)
tree528499b6bb01b04790e649f92e5758bce6128d49 /Thermodynamics_by_Gaggioli_and_Obert/ch17.ipynb
parent75799451fd9bd83e4d9ba0981c5c55052d7cdff4 (diff)
downloadPython-Textbook-Companions-a54f67e8de857b73ac3af2ada963f8349b03de5d.tar.gz
Python-Textbook-Companions-a54f67e8de857b73ac3af2ada963f8349b03de5d.tar.bz2
Python-Textbook-Companions-a54f67e8de857b73ac3af2ada963f8349b03de5d.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/ch17.ipynb')
-rw-r--r--Thermodynamics_by_Gaggioli_and_Obert/ch17.ipynb87
1 files changed, 87 insertions, 0 deletions
diff --git a/Thermodynamics_by_Gaggioli_and_Obert/ch17.ipynb b/Thermodynamics_by_Gaggioli_and_Obert/ch17.ipynb
new file mode 100644
index 00000000..9b54ad03
--- /dev/null
+++ b/Thermodynamics_by_Gaggioli_and_Obert/ch17.ipynb
@@ -0,0 +1,87 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 17 Gas cycles and processes"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Ex:17.1 Pg:768"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ " Thermal efficiency = 14.9 percent\n",
+ "\n",
+ " Moles of fuel burned per mol of air = 0.00177 mol fuel/mol air\n",
+ "\n",
+ " Mass ratio in pounds = 0.00866 lbm fuel/lbm air\n",
+ "\n",
+ " Air fuel ratio = 115 lbm air/lbm fuel\n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "\n",
+ "#Initialization of variables\n",
+ "ha=1033 #Btu/mol air\n",
+ "hbd=2992 #Btu/mol air\n",
+ "hc=7823 #Btu/mol air\n",
+ "hdd=5142 #Btu/mol air\n",
+ "Hv=2733000 #Btu/mol\n",
+ "M=29\n",
+ "#calculations\n",
+ "Wt=hc-hdd\n",
+ "Wc=ha-hbd\n",
+ "Net=Wt+Wc\n",
+ "Heat=hc-hbd\n",
+ "etat=Net*100/Heat\n",
+ "molair=Heat/Hv\n",
+ "mr=molair*142/M\n",
+ "Af=1/mr\n",
+ "#results\n",
+ "print \"\\n Thermal efficiency = %.1f percent\"%(etat)\n",
+ "print \"\\n Moles of fuel burned per mol of air = %.5f mol fuel/mol air\"%(molair)\n",
+ "print \"\\n Mass ratio in pounds = %.5f lbm fuel/lbm air\"%(mr)\n",
+ "print \"\\n Air fuel ratio = %d lbm air/lbm fuel\"%(Af)"
+ ]
+ }
+ ],
+ "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
+}