summaryrefslogtreecommitdiff
path: root/Fluid_Mechanics_by_John_F_Douglas/Chapter_1.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Fluid_Mechanics_by_John_F_Douglas/Chapter_1.ipynb')
-rwxr-xr-xFluid_Mechanics_by_John_F_Douglas/Chapter_1.ipynb61
1 files changed, 61 insertions, 0 deletions
diff --git a/Fluid_Mechanics_by_John_F_Douglas/Chapter_1.ipynb b/Fluid_Mechanics_by_John_F_Douglas/Chapter_1.ipynb
new file mode 100755
index 00000000..a2dd3e26
--- /dev/null
+++ b/Fluid_Mechanics_by_John_F_Douglas/Chapter_1.ipynb
@@ -0,0 +1,61 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:4a6f98ae985b8e1b6e034e8590a04939cfd519f9354fb6a0851df17e977d9e9f"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 1: Fluid and their Properties"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.1, Page 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "import math\n",
+ " \n",
+ " #Initialization of Variable\n",
+ "sigma = 72.7*10**-3; #Surface Tension\n",
+ "r = 1 *10**-3; #Radius of Bubble\n",
+ "\n",
+ " #Calculations\n",
+ "P = 2*sigma/r;\n",
+ "print \"Excess Pressure(N/m2) :\",P\n",
+ "\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Excess Pressure(N/m2) : 145.4\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file