diff options
author | hardythe1 | 2015-04-07 15:58:05 +0530 |
---|---|---|
committer | hardythe1 | 2015-04-07 15:58:05 +0530 |
commit | 92cca121f959c6616e3da431c1e2d23c4fa5e886 (patch) | |
tree | 205e68d0ce598ac5caca7de839a2934d746cce86 /Physical_Chemsitry/Chapter11.ipynb | |
parent | b14c13fcc6bb6d01c468805d612acb353ec168ac (diff) | |
download | Python-Textbook-Companions-92cca121f959c6616e3da431c1e2d23c4fa5e886.tar.gz Python-Textbook-Companions-92cca121f959c6616e3da431c1e2d23c4fa5e886.tar.bz2 Python-Textbook-Companions-92cca121f959c6616e3da431c1e2d23c4fa5e886.zip |
added books
Diffstat (limited to 'Physical_Chemsitry/Chapter11.ipynb')
-rwxr-xr-x | Physical_Chemsitry/Chapter11.ipynb | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/Physical_Chemsitry/Chapter11.ipynb b/Physical_Chemsitry/Chapter11.ipynb new file mode 100755 index 00000000..b98e97b5 --- /dev/null +++ b/Physical_Chemsitry/Chapter11.ipynb @@ -0,0 +1,95 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:00f3ac32d98b00732d6a51b0562de7dab713dab2a42986a603b1c1eafc01eefd"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 11 - Condensed phases"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1 - pg 271"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate the Vapor Pressure\n",
+ "#Initialization of variables\n",
+ "A=7.6546\n",
+ "B=1686.8\n",
+ "T=60+273.2\n",
+ "#calculations\n",
+ "logP=A-B/T\n",
+ "P=10**logP\n",
+ "#results\n",
+ "print '%s %.1f %s' %(\"Vapor Pressure =\",P,\"mm\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Vapor Pressure = 391.0 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2 - pg 277"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate the change in C values\n",
+ "#Initialization of variables\n",
+ "alpha=4.92*10**-5 #deg**-1\n",
+ "beta=7.85*10**-7 #atm**-1\n",
+ "d=8.93 #g/cm**3\n",
+ "T=298.15 #K\n",
+ "#calculations\n",
+ "dC=63.54*T*alpha**2 *1.987/(d*beta*82.06)\n",
+ "#results\n",
+ "print '%s %.3f %s' %(\"Change in c values = \",dC,\" cal/deg mol\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Change in c values = 0.158 cal/deg mol\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file |