summaryrefslogtreecommitdiff
path: root/Fluid_Mechanics_/Chapter11.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Fluid_Mechanics_/Chapter11.ipynb')
-rw-r--r--Fluid_Mechanics_/Chapter11.ipynb16
1 files changed, 0 insertions, 16 deletions
diff --git a/Fluid_Mechanics_/Chapter11.ipynb b/Fluid_Mechanics_/Chapter11.ipynb
index 93e3588f..618f66c5 100644
--- a/Fluid_Mechanics_/Chapter11.ipynb
+++ b/Fluid_Mechanics_/Chapter11.ipynb
@@ -28,13 +28,11 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Example 11.1\n",
"\n",
"from math import *\n",
"\n",
"from __future__ import division\n",
"\n",
- "# Given\n",
"\n",
"T1 = 273 + 15 # temperature in K\n",
"\n",
@@ -42,7 +40,6 @@
"\n",
"Cp = 0.24 # cp for air in kcal/kgK\n",
"\n",
- "# Solution\n",
"\n",
"dh = Cp*(T2-T1) # enthalpy per kg of air\n",
"\n",
@@ -75,13 +72,11 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Example 11.2\n",
"\n",
"from math import *\n",
"\n",
"from __future__ import division\n",
"\n",
- "# Given\n",
"\n",
"T1 = 273 + 15 # temperature in K\n",
"\n",
@@ -95,7 +90,6 @@
"\n",
"k = 1.4 # gas constant\n",
"\n",
- "# solution\n",
"\n",
"dS = Cv*log((T2/T1)**k*(P2/P1)**(1-k))\n",
"\n",
@@ -128,7 +122,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Example 11.3\n",
"\n",
"from math import *\n",
"\n",
@@ -183,15 +176,12 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Example 11.4\n",
"\n",
"from math import *\n",
"\n",
"from __future__ import division\n",
"\n",
- "# Given\n",
"\n",
- "# for water\n",
"\n",
"S =1 # specific gravity\n",
"\n",
@@ -199,7 +189,6 @@
"\n",
"bta = 2.2*10**9 # Bulk modulus of elasticity\n",
"\n",
- "# ethly alcohol\n",
"\n",
"S1 =0.79 # specific gravity\n",
"\n",
@@ -207,7 +196,6 @@
"\n",
"bta2 = 1.21*10**9 # Bulk modulus of elasticity\n",
"\n",
- "# for air\n",
"\n",
"k = 1.4 # gas constant for air\n",
"\n",
@@ -215,7 +203,6 @@
"\n",
"T = 273+20 # temperature in K\n",
"\n",
- "# Solution\n",
"\n",
"C1 = sqrt(bta/rho)\n",
"\n",
@@ -257,13 +244,11 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Example 11.5\n",
"\n",
"from math import *\n",
"\n",
"from __future__ import division\n",
"\n",
- "# Given\n",
"\n",
"P1 = 1.5 # pressure in psia\n",
"\n",
@@ -275,7 +260,6 @@
"\n",
"V1 = 1500 # velocity in ft/s\n",
"\n",
- "# Solution\n",
"\n",
"c1 = sqrt(k*R*T1)\n",
"\n",