diff options
author | hardythe1 | 2015-05-05 14:21:39 +0530 |
---|---|---|
committer | hardythe1 | 2015-05-05 14:21:39 +0530 |
commit | 435840cef00c596d9e608f9eb2d96f522ea8505a (patch) | |
tree | 4c783890c984c67022977ca98432e5e4bab30678 /Physical_Chemistry/Chapter16.ipynb | |
parent | aa1863f344766ca7f7c20a395e58d0fb23c52130 (diff) | |
download | Python-Textbook-Companions-435840cef00c596d9e608f9eb2d96f522ea8505a.tar.gz Python-Textbook-Companions-435840cef00c596d9e608f9eb2d96f522ea8505a.tar.bz2 Python-Textbook-Companions-435840cef00c596d9e608f9eb2d96f522ea8505a.zip |
add books
Diffstat (limited to 'Physical_Chemistry/Chapter16.ipynb')
-rwxr-xr-x | Physical_Chemistry/Chapter16.ipynb | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/Physical_Chemistry/Chapter16.ipynb b/Physical_Chemistry/Chapter16.ipynb new file mode 100755 index 00000000..edd91fdd --- /dev/null +++ b/Physical_Chemistry/Chapter16.ipynb @@ -0,0 +1,129 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:732bbb076f615c901ca952cd233aa9a732520f864fa8a5b9d8200618c4707cce"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 16 - Typical mechanisms and rate laws"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1 - pg 422"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate the Rate constant\n",
+ "#Initialization of variables\n",
+ "import math\n",
+ "P1=69.2 #mm\n",
+ "P2=39.8#mm\n",
+ "t=20 #min\n",
+ "#calculations\n",
+ "k=2.303*math.log10(P1/P2) /(t*60.)\n",
+ "#results\n",
+ "print '%s %.2e %s' %(\"Rate constant =\",k,\"sec^-1\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Rate constant = 4.61e-04 sec^-1\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2 - pg 422"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate the Rate constant\n",
+ "#Initialization of variables\n",
+ "import math\n",
+ "t=10. #min\n",
+ "x=90.\n",
+ "#calculations\n",
+ "k=2.303*math.log10(100/(100-x)) /t\n",
+ "#results\n",
+ "print '%s %.3f %s' %(\"Rate constant =\",k,\"min^-1\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Rate constant = 0.230 min^-1\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3 - pg 427"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate the rate constant\n",
+ "#Initialization of variables\n",
+ "t=242. #sec\n",
+ "P=229. #mm\n",
+ "P0=363. #mm\n",
+ "#calculations\n",
+ "k=(1./P -1./P0)/t\n",
+ "#results\n",
+ "print '%s %.2e %s' %(\"rate constant=\",k,\"sec^-1 mm^-1\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "rate constant= 6.66e-06 sec^-1 mm^-1\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file |