diff options
Diffstat (limited to 'Industrial_Instrumentation/ch9.ipynb')
-rw-r--r-- | Industrial_Instrumentation/ch9.ipynb | 110 |
1 files changed, 16 insertions, 94 deletions
diff --git a/Industrial_Instrumentation/ch9.ipynb b/Industrial_Instrumentation/ch9.ipynb index db39a5a3..fb7369a6 100644 --- a/Industrial_Instrumentation/ch9.ipynb +++ b/Industrial_Instrumentation/ch9.ipynb @@ -1,6 +1,7 @@ { "metadata": { - "name": "" + "name": "", + "signature": "sha256:48e3494ec100096b5d245db7f5c631c3ee779596f8c61001fb43d1b21ba3707b" }, "nbformat": 3, "nbformat_minor": 0, @@ -27,11 +28,6 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Calculate :\n", - "(i) The partial pressure of each constituent,\n", - "(ii) The total pressure in the vessel, and\n", - "'''\n", "\n", "# Variables\n", "V = 0.35; \t\t\t#m**3\n", @@ -91,10 +87,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Calculate : (i) Gas constant for air ;\n", - "(ii) Apparent molecular weight.\n", - "'''\n", + "\n", "\n", "# Variables\n", "R0 = 8.314;\n", @@ -151,9 +144,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Calculate the analysis by volume and the partial pressure \n", - "'''\n", + "\n", "\n", "# Variables\n", "p = 1.; \t\t\t#bar\n", @@ -237,13 +228,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Calculate for the mixture :\n", - "(i) The masses of CO 2 , O 2 and N 2 , and the total mass ;\n", - "(ii) The percentage carbon content by mass ;\n", - "(iii) The apparent molecular weight and the gas constant for the mixture ;\n", - "(iv) The specific volume of the mixture\n", - "'''\n", + "\n", "\n", "# Variables\n", "p = 1.*10**5; \t\t\t#Pa\n", @@ -335,11 +320,6 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "calculate :\n", - "(ii) The volume of the container.\n", - "(i) The mass of O 2 required ;\n", - "'''\n", "\n", "# Variables\n", "p = 1.*10**5; \t\t\t#Pa\n", @@ -394,9 +374,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Calculate per mole of mixture the mass of mixture to be removed, and mass of CO to be added.\n", - "'''\n", + "\n", "\n", "#Let composition of mixture by volume be denoted by c1\n", "#Let Final composition desired be denoted by c2\n", @@ -446,12 +424,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Calculate per kg of gas :\n", - "(i) The workdone ;\n", - "(ii) The heat flow ;\n", - "(iii) Change of entropy per kg of mixture.\n", - "'''\n", + "\n", "\n", "import math \n", "\n", @@ -601,8 +574,6 @@ "cell_type": "code", "collapsed": false, "input": [ - "# determine :\n", - "# (i) Partial pressures of the constituents ; (ii) Gas constant of mixture.\n", "\n", "import math \n", "\n", @@ -680,16 +651,6 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Find :\n", - "(i) The mole fraction of each constituent,\n", - "(ii) The equivalent molecular weight of the mixture,\n", - "(iii) The equivalent gas constant of the mixture,\n", - "(iv) The partial pressures and partial volumes,\n", - "(v) The volume and density of the mixture, and\n", - "(vi) The c p and c v of the mixture.\n", - "\n", - "'''\n", "\n", "# Variables\n", "p = 4.*10**5; \t\t \t#Pa\n", @@ -829,12 +790,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Calculate :\n", - "(i) The final temperature and pressure of the mixture ;\n", - "(ii) The change of entropy of the system.\n", "\n", - "'''\n", "\n", "# Variables\n", "Cv_O2 = 21.07; \t\t\t#kJ/mole K\n", @@ -905,10 +861,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "(a) Calculate : (i) The final equilibrium pressure ;\n", - "(ii) The amount of heat transferred to the surroundings ;\n", - "'''\n", + "\n", "\n", "import math \n", "\n", @@ -994,9 +947,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Calculate the increase in entropy \n", - "'''\n", + "\n", "\n", "import math \n", "\n", @@ -1042,7 +993,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculate the mass of O 2 added.\n", + "\n", "# Variables\n", "m_N2 = 2.5; \t\t\t#kg \n", "M_N2 = 28.;\n", @@ -1084,13 +1035,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Determine :\n", - "(i) The moles of nitrogen per mole of oxygen ;\n", - "(ii) The partial pressure of oxygen and nitrogen if the total pressure is atmosphere ;\n", - "(iii) The kg of nitrogen per kg of mixture.\n", "\n", - "'''\n", "\n", "# Variables\n", "n_O2 = 1.;\n", @@ -1146,7 +1091,7 @@ "cell_type": "code", "collapsed": false, "input": [ - " # Find the masses of O 2 , N 2 and CO 2 in the cylinder.\n", + "\n", "\n", "import math \n", "\n", @@ -1216,12 +1161,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Calculate-\n", - "(i) The partial pressure ;\n", - "(ii) The total pressure ;\n", - "(iii) The mean value of R for the mixture.\n", - "'''\n", + "\n", "# Variables\n", "V = 6; \t\t \t#m**3\n", "A = 0.45; \n", @@ -1283,13 +1223,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Determine-\n", - "(i) The mole fraction of each component ; (ii) The average molecular weight ;\n", - "(iii) The specific gas constant ;\n", - "(iv) The volume and density ;\n", - "(v) The partial pressures and partial volumes.\n", - "'''\n", + "\n", "\n", "# Variables\n", "m_O2 = 4.; \t\t\t#kg\n", @@ -1381,11 +1315,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Calculate :\n", - "(i) The final temperature of the mixture ; \n", - "(ii) The change in entropy.\n", - "'''\n", + "\n", "\n", "import math \n", "\n", @@ -1450,9 +1380,6 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "calculate the entropy change in the mixing process.\n", - "'''\n", "\n", "import math \n", "\n", @@ -1506,12 +1433,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "'''\n", - "Determine :\n", - "(i) The temperature of the equilibrium mixture ;\n", - "(ii) The pressure of the mixture ;\n", - "(iii) The change in entropy for each component and total value.\n", - "'''\n", + "\n", "\n", "import math \n", "\n", @@ -1590,7 +1512,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculate c v and c p of the mixture.\n", + "\n", "\n", "import math \n", "\n", |