summaryrefslogtreecommitdiff
path: root/Industrial_Instrumentation/ch2.ipynb
diff options
context:
space:
mode:
authorHardik Ghaghada2014-06-20 15:52:25 +0530
committerHardik Ghaghada2014-06-20 15:52:25 +0530
commite1e59ca3a50d9f93e8b7bc0693b8081d5db77771 (patch)
treef54eab21dd3d725d64a495fcd47c00d37abed004 /Industrial_Instrumentation/ch2.ipynb
parenta78126bbe4443e9526a64df9d8245c4af8843044 (diff)
parent83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (diff)
downloadPython-Textbook-Companions-e1e59ca3a50d9f93e8b7bc0693b8081d5db77771.tar.gz
Python-Textbook-Companions-e1e59ca3a50d9f93e8b7bc0693b8081d5db77771.tar.bz2
Python-Textbook-Companions-e1e59ca3a50d9f93e8b7bc0693b8081d5db77771.zip
Merge pull request #1 from debashisdeb/master
removing problem statements from all the chapters to avoid copyright violations
Diffstat (limited to 'Industrial_Instrumentation/ch2.ipynb')
-rw-r--r--Industrial_Instrumentation/ch2.ipynb69
1 files changed, 7 insertions, 62 deletions
diff --git a/Industrial_Instrumentation/ch2.ipynb b/Industrial_Instrumentation/ch2.ipynb
index 22755012..0f54145a 100644
--- a/Industrial_Instrumentation/ch2.ipynb
+++ b/Industrial_Instrumentation/ch2.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:3203164807ce532b672553754629f11a0a0db0c197fd3e21e75a10e9e0cb2a95"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,7 +28,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Convert the following readings of pressure to kPa assuming that barometer reads 760 mm of Hg.\n",
"\n",
"# Variables\n",
"rho_Hg = 13596.; \t\t\t#kg/m**3\n",
@@ -89,7 +89,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Find the pressure on the piston.\n",
"\n",
"import math \n",
"\n",
@@ -130,7 +129,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Find the gauge pressure \n",
"\n",
"# Variables\n",
"SG = 0.9;\n",
@@ -171,7 +169,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Find the absolute pressure in the condenser in Pa. \n",
"\n",
"# Variables\n",
"Vacuum_recorded = 740.; \t\t\t#mm of Hg\n",
@@ -209,11 +206,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Determine :\n",
- "(i) The absolute pressure of the gas in the vessel in bar.\n",
- "(ii) Specific volume and density of the gas.\n",
- "'''\n",
"\n",
"import math \n",
"\n",
@@ -267,9 +259,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Calculate the gas pressure.\n",
- "'''\n",
"\n",
"\n",
"# Variables\n",
@@ -310,9 +299,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Find the absolute pressure of steam.\n",
- "'''\n",
"\n",
"# Variables\n",
"h_H2O = 34.; \t\t\t#mm of Hg\n",
@@ -354,9 +340,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Find the absolute pressure of the gas \n",
- "'''\n",
"\n",
"# Variables\n",
"SG = 0.8;\n",
@@ -399,9 +382,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Estimate the mass of a piston that can be supported by a gas entrapped\n",
- "under the piston '''\n",
"\n",
"import math \n",
"\n",
@@ -444,9 +424,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "calculate the kinetic energy of an artificial satellite revolves round the earth \n",
- "'''\n",
"\n",
"# Variables\n",
"v = 800.; \t\t\t#m/s\n",
@@ -486,11 +463,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "find :\n",
- "(i) Heat transferred ;\n",
- "(ii) Mean specific heat of the gas.\n",
- "'''\n",
+ "\n",
"\n",
"import math \n",
"from scipy.integrate import quad \n",
@@ -543,10 +516,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "what will be the temperature corresponding to the thermometric property of 3.5 on\n",
- "Celsius scale.\n",
- "'''\n",
+ "\n",
"\n",
"import math \n",
"from numpy import *\n",
@@ -592,9 +562,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "What will be the reading on the thermometer where the gas thermometer reads 70\u00b0C ?\n",
- "'''\n",
"\n",
"def func(t): \n",
"\t return 0.20*t-5*10**(-4)*t**2\n",
@@ -635,9 +602,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "What is the amount of work done upon the atmosphere by the balloon ? \n",
- "'''\n",
"\n",
"# Variables\n",
"p = 101.325; \t\t#kPa\n",
@@ -675,9 +639,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Determine the work done by the air which enters into an evacuated vessel\n",
- "from atmosphere when the valve is opened'''\n",
"\n",
"from scipy import integrate\n",
"\n",
@@ -718,10 +679,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "A piston and cylinder machine containing a fluid system has a stirring\n",
- "device as shown in Fig. 2.36. Find the net work transfer for the system.\n",
- "'''\n",
+ "\n",
"\n",
"import math \n",
"\n",
@@ -766,9 +724,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Find the net work done during the process.\n",
- "'''\n",
"\n",
"# Variables\n",
"A = 45.*10**(-4); \t #m**2\n",
@@ -808,9 +763,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Calculate the work done when the pressure increases from 1.5 bar to 7.5 bar.\n",
- "'''\n",
+ "\n",
"\n",
"import math \n",
"from scipy.integrate import quad \n",
@@ -857,9 +810,6 @@
"input": [
"import math\n",
"\n",
- "'''\n",
- "To a closed system 150 kJ of work is supplied, determine the final volume and pressure of the system.\n",
- "'''\n",
"\n",
"# Variables\n",
"W = 150; \t\t\t#kJ\n",
@@ -898,9 +848,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Calculate the work done by the fluid on the piston.\n",
- "'''\n",
"\n",
"import math \n",
"from scipy.integrate import quad \n",
@@ -949,9 +896,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''\n",
- "Calculate the net work done by the fluid, for an initial volume of 0.05 m 3 .\n",
- "'''\n",
+ "\n",
"\n",
"import math \n",
"from scipy.integrate import quad \n",