summaryrefslogtreecommitdiff
path: root/Chemical_Engineering_Thermodynamics/ch14_1.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Chemical_Engineering_Thermodynamics/ch14_1.ipynb')
-rw-r--r--Chemical_Engineering_Thermodynamics/ch14_1.ipynb34
1 files changed, 12 insertions, 22 deletions
diff --git a/Chemical_Engineering_Thermodynamics/ch14_1.ipynb b/Chemical_Engineering_Thermodynamics/ch14_1.ipynb
index 03350db4..be081f3c 100644
--- a/Chemical_Engineering_Thermodynamics/ch14_1.ipynb
+++ b/Chemical_Engineering_Thermodynamics/ch14_1.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:98f2e1e0f1c561d3ee302fd629093b7572c8b263613f73036059e7020f90d8cc"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,8 +28,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Proving a mathematical relation\n",
- "\n",
+ " \n",
"import math\n",
"\n",
"# Variables,\n",
@@ -93,9 +93,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Comparision of Margules and van Laar eqations\n",
- "\n",
- "\n",
+ " \n",
"import math \n",
"from numpy import zeros\n",
"from scipy.stats import linregress\n",
@@ -169,8 +167,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of activity coefficients\n",
- "\n",
+ " \n",
"# Variables,\n",
"T = 60 + 273.15;\t\t\t#[K] - Temperature\n",
"R = 1.987;\t\t\t#[cal/mol*K] - Universal gas constant\n",
@@ -244,8 +241,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of the value of activity coefficients\n",
- "\n",
+ " \n",
"# Variables \n",
"T = 307;\t\t\t#[K]\n",
"x_1 = 0.047;\n",
@@ -372,8 +368,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of the value of activity coefficients\n",
- "\n",
+ " \n",
"# Variables,\n",
"T = 25 + 273.15;\t\t\t#[K] - Temperature\n",
"R = 1.987;\t\t\t#[cal/mol*K] - Universal gas constant\n",
@@ -426,8 +421,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of the value of activity coefficients\n",
- "\n",
+ " \n",
"# Variables,\n",
"T = 25 + 273.15;\t\t\t#[K] - Temperature\n",
"mol_HCl = 0.001;\t\t\t#[mol/kg] - Molality of HCl\n",
@@ -479,8 +473,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of the value of activity coefficients\n",
- "\n",
+ " \n",
"# Variables,\n",
"T = 25 + 273.15;\t\t\t#[K] - Temperature\n",
"mol_CaCl2 = 0.001;\t\t\t#[mol/kg] - Molality of HCl\n",
@@ -528,8 +521,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Proving a mathematical relation\n",
- "\n",
+ " \n",
"# Variables,\n",
"T = 50 + 273.15;\t\t\t#[K] - Temperature\n",
"R=8.314;\t\t\t#[J/mol*K] - Universal gas constant\n",
@@ -583,8 +575,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# calculation of enthalpy entropy and Gibbs free energy\n",
- "\n",
+ " \n",
"# Variables\n",
"T = 293.15;\t\t\t#[K] - Temperature\n",
"R=8.314;\t\t\t#[J/mol*K] - Universal gas constant\n",
@@ -654,8 +645,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of Gibbs free energy and enthalpy change\n",
- "\n",
+ " \n",
"# Given\n",
"T = 60 + 273.15;\t\t\t#[K] - Temperature\n",
"R = 8.314;\t\t\t#[J/mol*K] - Universal gas constant\n",