summaryrefslogtreecommitdiff
path: root/Chemical_Engineering_Thermodynamics/ch1_2.ipynb
diff options
context:
space:
mode:
authordebashisdeb2014-06-20 15:42:42 +0530
committerdebashisdeb2014-06-20 15:42:42 +0530
commit83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (patch)
treef54eab21dd3d725d64a495fcd47c00d37abed004 /Chemical_Engineering_Thermodynamics/ch1_2.ipynb
parenta78126bbe4443e9526a64df9d8245c4af8843044 (diff)
downloadPython-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.gz
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.bz2
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.zip
removing problem statements
Diffstat (limited to 'Chemical_Engineering_Thermodynamics/ch1_2.ipynb')
-rw-r--r--Chemical_Engineering_Thermodynamics/ch1_2.ipynb44
1 files changed, 17 insertions, 27 deletions
diff --git a/Chemical_Engineering_Thermodynamics/ch1_2.ipynb b/Chemical_Engineering_Thermodynamics/ch1_2.ipynb
index 558a147b..b7e6716d 100644
--- a/Chemical_Engineering_Thermodynamics/ch1_2.ipynb
+++ b/Chemical_Engineering_Thermodynamics/ch1_2.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:05ef5db2afef7232054abda0278780d1df8c92b807546fcd7648e8885fa4539f"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,11 +28,10 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of pressure and heat transfer in piston cylinder assembly\n",
- "\n",
+ "# \n",
"# Variables\n",
"#(a)\n",
- "# The pressure in the cylinder is due to the weight of the piston and due to surroundings pressure\n",
+ " \n",
"m = 50.;\t\t\t#[kg] - Mass of piston\n",
"A = 0.05;\t\t\t#[m**(2)] - Area of piston\n",
"g = 9.81;\t\t\t#[m/s**(2)] - Acceleration due to gravity\n",
@@ -75,7 +75,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of mass of air contained in a room\n",
+ " \n",
"\n",
"# Variables\n",
"P = 1.;\t\t\t#[atm] - Atmospheric pressure\n",
@@ -123,7 +123,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of work done\n",
+ " \n",
"\n",
"# Variables\n",
"P1 = 3.;\t\t\t# [bar] - initial pressure\n",
@@ -191,7 +191,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of wind energy per unit mass and diameter of the wind turbine\n",
+ " \n",
"\n",
"# Variables\n",
"#(a)\n",
@@ -243,8 +243,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of temperature\n",
- "\n",
+ " \n",
"# Given\n",
"P = 1.;\t\t\t # [bar] - atospheric pressure\n",
"P1guz = 0.75;\t\t\t# [bar] - gauze pressure in 1st evaporator\n",
@@ -289,8 +288,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of dryness fraction of steam\n",
- "\n",
+ " \n",
"# Variables\n",
"V = 1.;\t\t\t # [kg] - volume of tank\n",
"P = 10.;\t\t\t# [bar] - pressure\n",
@@ -335,8 +333,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of pressure mass and volume\n",
- "\n",
+ " \n",
"# Variables\n",
"V = 1.;\t\t\t# [m**(3)] - volume of tank\n",
"M = 10.;\t\t\t# [m**(3)] - total mass\n",
@@ -394,8 +391,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of heat supplied\n",
- "\n",
+ " \n",
"# Variables\n",
"V = 10.;\t\t\t# [m**(3)] - volume of vessel\n",
"P_1 = 1.;\t\t\t# [bar] - initial pressure\n",
@@ -464,8 +460,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of saturation temperature\n",
- "\n",
+ " \n",
"# Variables\n",
"#Antoine equation for water ln(Psat)=16.262-(3799.89/(T_sat + 226.35))\n",
"P = 2.;\t\t\t#[atm] - Pressure\n",
@@ -511,8 +506,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of pressure and temperature at triple point\n",
- "\n",
+ " \n",
"# Variables\n",
"# math.log(P)=-(1640/T)+10.56 (solid)\n",
"# math.log(P)=-(1159/T)+7.769 (liquid)%where T is in K\n",
@@ -556,8 +550,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of value of R Cp0 and Cv0\n",
- "\n",
+ " \n",
"# Variables\n",
"M_O2 = 31.999;\t\t\t#molecular weight of oxygen\n",
"M_N2 = 28.014;\t\t\t#molecular weight of nitrogen\n",
@@ -606,8 +599,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of molar heat capacity\n",
- "\n",
+ " \n",
"# Variables\n",
"Y = 1.4;\t\t\t#molar heat capacities ratio for air\n",
"R = 8.314;\t\t\t# [J/mol*K] - Universal gas constant\n",
@@ -646,8 +638,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of mean heat capacity\n",
- "\n",
+ " \n",
"from scipy.integrate import quad\n",
"\n",
"# Variables\n",
@@ -690,8 +681,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of enthalpy of water\n",
- "\n",
+ " \n",
"# Variables\n",
"#(a)\n",
"P_1 = 0.2;\t\t\t# [MPa] - pressure\n",