summaryrefslogtreecommitdiff
path: root/Physical_Chemistry/Chapter18.ipynb
diff options
context:
space:
mode:
authorhardythe12015-05-05 14:21:39 +0530
committerhardythe12015-05-05 14:21:39 +0530
commit435840cef00c596d9e608f9eb2d96f522ea8505a (patch)
tree4c783890c984c67022977ca98432e5e4bab30678 /Physical_Chemistry/Chapter18.ipynb
parentaa1863f344766ca7f7c20a395e58d0fb23c52130 (diff)
downloadPython-Textbook-Companions-435840cef00c596d9e608f9eb2d96f522ea8505a.tar.gz
Python-Textbook-Companions-435840cef00c596d9e608f9eb2d96f522ea8505a.tar.bz2
Python-Textbook-Companions-435840cef00c596d9e608f9eb2d96f522ea8505a.zip
add books
Diffstat (limited to 'Physical_Chemistry/Chapter18.ipynb')
-rwxr-xr-xPhysical_Chemistry/Chapter18.ipynb102
1 files changed, 102 insertions, 0 deletions
diff --git a/Physical_Chemistry/Chapter18.ipynb b/Physical_Chemistry/Chapter18.ipynb
new file mode 100755
index 00000000..d460229d
--- /dev/null
+++ b/Physical_Chemistry/Chapter18.ipynb
@@ -0,0 +1,102 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:63ceed8607dc113635851a8fc16e00b5a679fa077f828a47388aa54622bce4ae"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 18 - Catalysis"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1 - pg 472"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate the Volume \n",
+ "#Initialization of variables\n",
+ "V1=0.284 #cm^3 /g\n",
+ "V2=1.43 #cm^3 /g\n",
+ "P1=142.4 #mm\n",
+ "P2=760. #mm\n",
+ "#calculations\n",
+ "z=(1/V1 - 1/V2)/(1/P1 - 1/P2)\n",
+ "invVm=1/V2 - z/P2\n",
+ "Vm=1/invVm\n",
+ "#results\n",
+ "print '%s %.1f %s' %(\"Volume =\",Vm,\"cm^3/g\")\n",
+ "print 'The answer in the textbook is a bit different due to rounding off error.'\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Volume = 20.5 cm^3/g\n",
+ "The answer in the textbook is a bit different due to rounding off error.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2 - pg 477"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate the total area\n",
+ "#Initialization of variables\n",
+ "Vm=2.86 #cc/g\n",
+ "P=1 #atm\n",
+ "R=82.06 #cm^3 atm/deg mol\n",
+ "T=273.2 #deg\n",
+ "N=6.023*10**23\n",
+ "sigma=16.2*10**-16 #cm^2 /molecule\n",
+ "#calculations\n",
+ "n=P*Vm/(R*T)\n",
+ "A=N*n*sigma\n",
+ "#results\n",
+ "print '%s %.2e %s' %(\"total area =\",A,\" cm^2 (g catalyst)^-1\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "total area = 1.24e+05 cm^2 (g catalyst)^-1\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file