summaryrefslogtreecommitdiff
path: root/Thermodynamics_by_J._P._Holman/ch13.ipynb
diff options
context:
space:
mode:
authorhardythe12015-06-11 17:31:11 +0530
committerhardythe12015-06-11 17:31:11 +0530
commit79c59acc7af08ede23167b8455de4b716f77601f (patch)
tree2d6ff34b6f131d2671e4c6b798f210b3cb1d4ac7 /Thermodynamics_by_J._P._Holman/ch13.ipynb
parentdf60071cf1d1c18822d34f943ab8f412a8946b69 (diff)
downloadPython-Textbook-Companions-79c59acc7af08ede23167b8455de4b716f77601f.tar.gz
Python-Textbook-Companions-79c59acc7af08ede23167b8455de4b716f77601f.tar.bz2
Python-Textbook-Companions-79c59acc7af08ede23167b8455de4b716f77601f.zip
add books
Diffstat (limited to 'Thermodynamics_by_J._P._Holman/ch13.ipynb')
-rwxr-xr-xThermodynamics_by_J._P._Holman/ch13.ipynb107
1 files changed, 107 insertions, 0 deletions
diff --git a/Thermodynamics_by_J._P._Holman/ch13.ipynb b/Thermodynamics_by_J._P._Holman/ch13.ipynb
new file mode 100755
index 00000000..f2b649d3
--- /dev/null
+++ b/Thermodynamics_by_J._P._Holman/ch13.ipynb
@@ -0,0 +1,107 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:11cb16e5df43b71fcfcbd028a413a4b4822b665e44e65d30bde344b1e73319cb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 13 :\n",
+ "Thermodynamics of irreversible\n",
+ "processes"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.1 pg : 377"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\t\t\t\n",
+ "# Variables\n",
+ "Eab1 = 0.\n",
+ "Eab2 = 5.87 \t\t\t#mV\n",
+ "T1 = 150. \t\t\t#F\n",
+ "T2 = 200. \t \t\t#F\n",
+ "\t\t\t\n",
+ "# Calculations\n",
+ "Eab = -1.12+ 0.035*T1\n",
+ "pi1 = 0.035*(T1+460)\n",
+ "pi2 = 0.035*(T2+460)\n",
+ "\t\t\t\n",
+ "# Results\n",
+ "print \"Thermocouple reading at %d F = %.2f mv\"%(T1,Eab)\n",
+ "print \" Peltier coefficient at %d F = %.1f mv\"%(T1,pi1)\n",
+ "print \" Peltier coefficient at %d F = %.1f mv\"%(T2,pi2)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Thermocouple reading at 150 F = 4.13 mv\n",
+ " Peltier coefficient at 150 F = 21.4 mv\n",
+ " Peltier coefficient at 200 F = 23.1 mv\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.2 pg : 380"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\t\t\t\n",
+ "# Variables\n",
+ "T = 0. \t\t\t#C\n",
+ "\t\t\t\n",
+ "# Calculations\n",
+ "de1 = -72. \t\t\t#mV/C\n",
+ "de2 = 500. \t\t\t#mv/C\n",
+ "alpha = de1-de2\n",
+ "pi = -(T+273)*alpha\n",
+ "\t\t\t\n",
+ "# Results\n",
+ "print \"Peltier coefficient at %d C = %d mv\"%(T,pi/1000)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Peltier coefficient at 0 C = 156 mv\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file