diff options
Diffstat (limited to 'backup/Thermodynamics_by_J._P._Holman_version_backup/ch13.ipynb')
-rwxr-xr-x | backup/Thermodynamics_by_J._P._Holman_version_backup/ch13.ipynb | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/backup/Thermodynamics_by_J._P._Holman_version_backup/ch13.ipynb b/backup/Thermodynamics_by_J._P._Holman_version_backup/ch13.ipynb new file mode 100755 index 00000000..f2b649d3 --- /dev/null +++ b/backup/Thermodynamics_by_J._P._Holman_version_backup/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 |