diff options
author | hardythe1 | 2015-05-05 14:21:39 +0530 |
---|---|---|
committer | hardythe1 | 2015-05-05 14:21:39 +0530 |
commit | fba055ce5aa0955e22bac2413c33493b10ae6532 (patch) | |
tree | be70ef4fccd07c9c88de778014219201b4ea971f /Physical_Chemistry/Chapter3.ipynb | |
parent | 67068710030ddd6b6c809518c34af2e04e0bf7ca (diff) | |
download | Python-Textbook-Companions-fba055ce5aa0955e22bac2413c33493b10ae6532.tar.gz Python-Textbook-Companions-fba055ce5aa0955e22bac2413c33493b10ae6532.tar.bz2 Python-Textbook-Companions-fba055ce5aa0955e22bac2413c33493b10ae6532.zip |
add books
Diffstat (limited to 'Physical_Chemistry/Chapter3.ipynb')
-rwxr-xr-x | Physical_Chemistry/Chapter3.ipynb | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Physical_Chemistry/Chapter3.ipynb b/Physical_Chemistry/Chapter3.ipynb new file mode 100755 index 00000000..5b215119 --- /dev/null +++ b/Physical_Chemistry/Chapter3.ipynb @@ -0,0 +1,57 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:491d30e4e083aec11bc84fdc5735ea79764fcb01fd2223f482cd31ce71e9fd49"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 3 - Waves and Quanta"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9 - pg 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#calculate the Vibrational degrees of freedom\n",
+ "#initialization of variables\n",
+ "atoms=5\n",
+ "#calculations\n",
+ "f=3*atoms\n",
+ "fvib=f-3-3\n",
+ "#results\n",
+ "print '%s %d' %(\"Vibrational degrees of freedom = \",fvib)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Vibrational degrees of freedom = 9\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file |