summaryrefslogtreecommitdiff
path: root/647/CH6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /647/CH6
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '647/CH6')
-rwxr-xr-x647/CH6/EX6.1/Example6_1.sce13
-rwxr-xr-x647/CH6/EX6.10/Example6_10.sce13
-rwxr-xr-x647/CH6/EX6.11/Example6_11.sce13
-rwxr-xr-x647/CH6/EX6.12/Example6_12.sce13
-rwxr-xr-x647/CH6/EX6.13/Example6_13.sce13
-rwxr-xr-x647/CH6/EX6.14/Example6_14.sce22
-rwxr-xr-x647/CH6/EX6.15/Example6_15.sce13
-rwxr-xr-x647/CH6/EX6.16/Example6_16.sce13
-rwxr-xr-x647/CH6/EX6.17/Example6_17.sce13
-rwxr-xr-x647/CH6/EX6.18/Example6_18.sce13
-rwxr-xr-x647/CH6/EX6.19/Example6_19.sce19
-rwxr-xr-x647/CH6/EX6.2/Example6_2.sce29
-rwxr-xr-x647/CH6/EX6.20/Example6_20.sce13
-rwxr-xr-x647/CH6/EX6.21/Example6_21.scebin0 -> 461 bytes
-rwxr-xr-x647/CH6/EX6.22/Example6_22.scebin0 -> 591 bytes
-rwxr-xr-x647/CH6/EX6.23/Example6_23.sce29
-rwxr-xr-x647/CH6/EX6.24/Example6_24.sce23
-rwxr-xr-x647/CH6/EX6.3/Example6_3.sce25
-rwxr-xr-x647/CH6/EX6.4/Example6_4.sce21
-rwxr-xr-x647/CH6/EX6.5/Example6_5.sce23
-rwxr-xr-x647/CH6/EX6.6/Example6_6.sce13
-rwxr-xr-x647/CH6/EX6.7/Example6_7.sce13
-rwxr-xr-x647/CH6/EX6.8/Example6_8.sce13
-rwxr-xr-x647/CH6/EX6.9/Example6_9.sce13
24 files changed, 373 insertions, 0 deletions
diff --git a/647/CH6/EX6.1/Example6_1.sce b/647/CH6/EX6.1/Example6_1.sce
new file mode 100755
index 000000000..1ce3732a9
--- /dev/null
+++ b/647/CH6/EX6.1/Example6_1.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.1
+// Page: 197
+
+printf("Example: 6.1 - Page: 197\n\n");
+
+// Mathematics is involved in proving but just that no numerical computations are involved.
+// For prove refer to this example 6.1 on page number 197 of the book.
+
+printf(" Mathematics is involved in proving but just that no numerical computations are involved.\n\n");
+printf(" For prove refer to this example 6.1 on page 197 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.10/Example6_10.sce b/647/CH6/EX6.10/Example6_10.sce
new file mode 100755
index 000000000..858ef695e
--- /dev/null
+++ b/647/CH6/EX6.10/Example6_10.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.10
+// Page: 218
+
+printf("Example: 6.10 - Page: 218\n\n");
+
+// Mathematics is involved in proving but just that no numerical computations are involved.
+// For prove refer to this example 6.10 on page number 218 of the book.
+
+printf(" Mathematics is involved in proving but just that no numerical computations are involved.\n\n");
+printf(" For prove refer to this example 6.10 on page 218 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.11/Example6_11.sce b/647/CH6/EX6.11/Example6_11.sce
new file mode 100755
index 000000000..e64cbe7da
--- /dev/null
+++ b/647/CH6/EX6.11/Example6_11.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.11
+// Page: 219
+
+printf("Example: 6.11 - Page: 219\n\n");
+
+// Mathematics is involved in proving but just that no numerical computations are involved.
+// For prove refer to this example 6.11 on page number 219 of the book.
+
+printf(" Mathematics is involved in proving but just that no numerical computations are involved.\n\n");
+printf(" For prove refer to this example 6.11 on page 219 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.12/Example6_12.sce b/647/CH6/EX6.12/Example6_12.sce
new file mode 100755
index 000000000..a701edaae
--- /dev/null
+++ b/647/CH6/EX6.12/Example6_12.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.12
+// Page: 219
+
+printf("Example: 6.12 - Page: 219\n\n");
+
+// Mathematics is involved in proving but just that no numerical computations are involved.
+// For prove refer to this example 6.12 on page number 219 of the book.
+
+printf(" Mathematics is involved in proving but just that no numerical computations are involved.\n\n");
+printf(" For prove refer to this example 6.12 on page 219 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.13/Example6_13.sce b/647/CH6/EX6.13/Example6_13.sce
new file mode 100755
index 000000000..61e23dc64
--- /dev/null
+++ b/647/CH6/EX6.13/Example6_13.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.13
+// Page: 220
+
+printf("Example: 6.13 - Page: 220\n\n");
+
+// This problem involves proving a relation in which no mathematics and no calculations are involved.
+// For prove refer to this example 6.13 on page number 220 of the book.
+
+printf(" This problem involves proving a relation in which no mathematics and no calculations are involved.\n\n");
+printf(" For prove refer to this example 6.13 on page 220 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.14/Example6_14.sce b/647/CH6/EX6.14/Example6_14.sce
new file mode 100755
index 000000000..32e335538
--- /dev/null
+++ b/647/CH6/EX6.14/Example6_14.sce
@@ -0,0 +1,22 @@
+clear;
+clc;
+
+// Example: 6.14
+// Page: 221
+
+printf("Example: 6.14 - Page: 221\n\n");
+
+// Solution
+
+// *****Data******//
+alpha = 0.837*10^(-11);// [square m/N]
+beeta = 54.2*10^(-6);// [1/K]
+T = 227 + 273;// [K]
+V = 7.115*10^(-3);// [cubic m/kmol]
+Cp = 26.15;// [J/mol K]
+//*****************//
+
+Cv = Cp - (T*V*beeta^2/alpha)/1000;// [J/mol K]
+// Percentage error if Cp is assumed to Cv.
+err = ((Cp - Cv)/Cp)*100;
+printf("Percentage error is %.2f %%",err); \ No newline at end of file
diff --git a/647/CH6/EX6.15/Example6_15.sce b/647/CH6/EX6.15/Example6_15.sce
new file mode 100755
index 000000000..bc07b8d8d
--- /dev/null
+++ b/647/CH6/EX6.15/Example6_15.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.15
+// Page: 221
+
+printf("Example: 6.15 - Page: 221\n\n");
+
+// This problem involves proving a relation in which no mathematics and no calculations are involved.
+// For prove refer to this example 6.15 on page number 221 of the book.
+
+printf(" This problem involves proving a relation in which no mathematics and no calculations are involved.\n\n");
+printf(" For prove refer to this example 6.15 on page 221 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.16/Example6_16.sce b/647/CH6/EX6.16/Example6_16.sce
new file mode 100755
index 000000000..7fea65697
--- /dev/null
+++ b/647/CH6/EX6.16/Example6_16.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.16
+// Page: 222
+
+printf("Example: 6.16 - Page: 222\n\n");
+
+// This problem involves proving a relation in which no mathematics and no calculations are involved.
+// For prove refer to this example 6.16 on page number 222 of the book.
+
+printf(" This problem involves proving a relation in which no mathematics and no calculations are involved.\n\n");
+printf(" For prove refer to this example 6.16 on page 222 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.17/Example6_17.sce b/647/CH6/EX6.17/Example6_17.sce
new file mode 100755
index 000000000..58e24cee9
--- /dev/null
+++ b/647/CH6/EX6.17/Example6_17.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.17
+// Page: 222
+
+printf("Example: 6.17 - Page: 222\n\n");
+
+// This problem involves proving a relation in which no mathematics and no calculations are involved.
+// For prove refer to this example 6.17 on page number 222 of the book.
+
+printf(" This problem involves proving a relation in which no mathematics and no calculations are involved.\n\n");
+printf(" For prove refer to this example 6.17 on page 222 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.18/Example6_18.sce b/647/CH6/EX6.18/Example6_18.sce
new file mode 100755
index 000000000..7af1eb72f
--- /dev/null
+++ b/647/CH6/EX6.18/Example6_18.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.18
+// Page: 223
+
+printf("Example: 6.18 - Page: 223\n\n");
+
+// This problem involves proving a relation in which no mathematics and no calculations are involved.
+// For prove refer to this example 6.18 on page number 223 of the book.
+
+printf(" This problem involves proving a relation in which no mathematics and no calculations are involved.\n\n");
+printf(" For prove refer to this example 6.18 on page 223 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.19/Example6_19.sce b/647/CH6/EX6.19/Example6_19.sce
new file mode 100755
index 000000000..e6cf5d910
--- /dev/null
+++ b/647/CH6/EX6.19/Example6_19.sce
@@ -0,0 +1,19 @@
+clear;
+clc;
+
+// Example: 6.19
+// Page: 227
+
+printf("Example: 6.19 - Page: 227\n\n");
+
+// Solution
+
+// *****Data******//
+a = 3.59;// [square L atm /square mol]
+b = 0.043;// [L/mol]
+R = 0.082;// [J/mol K]
+//***************//
+
+// From Eqn. 6.122:
+Ti = 2*a/(R*b);// [K]
+printf("Inversion of temperature is %.1f K",Ti); \ No newline at end of file
diff --git a/647/CH6/EX6.2/Example6_2.sce b/647/CH6/EX6.2/Example6_2.sce
new file mode 100755
index 000000000..45b9b5133
--- /dev/null
+++ b/647/CH6/EX6.2/Example6_2.sce
@@ -0,0 +1,29 @@
+clear;
+clc;
+
+// Example: 6.2
+// Page: 205
+
+printf("Example: 6.2 - Page: 205\n\n");
+
+// Solution
+
+// *****Data******//
+density_water = 0.998;// [g/cubic cm]
+density_ice = 0.9168;// [g/cubic cm]
+Hf = 335;// [J/g]
+T = 0 + 273;// [K]
+//*****************//
+
+V_water = 1/density_water;// [cubic cm/g]
+V_ice = 1/density_ice;// [cubic cm/g]
+// From Eqn. 6.56:
+// dP/dT = deltaS/(V2 - V1) = deltaH/(T*(V2 - V1))
+// Substituting these values in Eqn. 6.58
+deltaP_By_deltaT = (Hf/(T*(V_water - V_ice)))*10;// [atm/K]
+deltaT_By_deltaP = 1/deltaP_By_deltaT;// [K/atm]
+if deltaT_By_deltaP > 0
+ printf("Increase in pressure of 1 atm increases the freezing point by %.4f K",abs(deltaT_By_deltaP));
+else
+ printf("Increase in pressure of 1 atm lowers the freezing point by %.4f K",abs(deltaT_By_deltaP));
+end \ No newline at end of file
diff --git a/647/CH6/EX6.20/Example6_20.sce b/647/CH6/EX6.20/Example6_20.sce
new file mode 100755
index 000000000..73099d7d2
--- /dev/null
+++ b/647/CH6/EX6.20/Example6_20.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.20
+// Page: 227
+
+printf("Example: 6.20 - Page: 227\n\n");
+
+// This problem involves proving a relation in which no mathematics and no calculations are involved.
+// For prove refer to this example 6.20 on page number 227 of the book.
+
+printf(" This problem involves proving a relation in which no mathematics and no calculations are involved.\n\n");
+printf(" For prove refer to this example 6.20 on page 227 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.21/Example6_21.sce b/647/CH6/EX6.21/Example6_21.sce
new file mode 100755
index 000000000..53aceff60
--- /dev/null
+++ b/647/CH6/EX6.21/Example6_21.sce
Binary files differ
diff --git a/647/CH6/EX6.22/Example6_22.sce b/647/CH6/EX6.22/Example6_22.sce
new file mode 100755
index 000000000..d82ae8d13
--- /dev/null
+++ b/647/CH6/EX6.22/Example6_22.sce
Binary files differ
diff --git a/647/CH6/EX6.23/Example6_23.sce b/647/CH6/EX6.23/Example6_23.sce
new file mode 100755
index 000000000..16cc2e459
--- /dev/null
+++ b/647/CH6/EX6.23/Example6_23.sce
@@ -0,0 +1,29 @@
+clear;
+clc;
+
+// Example: 6.23
+// Page: 239
+
+printf("Example: 6.23 - Page: 239\n\n");
+
+// Solution
+
+// *****Data******//
+T = 298;// [K]
+P = 10*10^5;// [Pa]
+Tc = 126.2;// [K]
+Pc = 34*10^5;// [bar]
+R = 8.314;// [J/mol K]
+//****************//
+
+a = 27*R^2*Tc^2/(64*Pc);// [Pa.m^6/square mol]
+b = R*Tc/(8*Pc);// [cubic m/mol]
+V = 2.425*10^(-3);// [cubic m/mol]
+// From Eqn. 6.173:
+Sr = R*log(P*(V - b)/(R*T));// [J/mol K]
+printf("Residual Entropy is %.4f J/mol K\n",Sr);
+// From Eqn. 6.174:
+Hr = P*V - R*T - (a/V);// [J/mol]
+printf("Residual Enthalpy is %.4f J/mol K\n",Hr);
+Ur = -(a/V);// [J/mol]
+printf("Residual Internal Energy is %.4f J/mol K\n",Ur); \ No newline at end of file
diff --git a/647/CH6/EX6.24/Example6_24.sce b/647/CH6/EX6.24/Example6_24.sce
new file mode 100755
index 000000000..c454da6aa
--- /dev/null
+++ b/647/CH6/EX6.24/Example6_24.sce
@@ -0,0 +1,23 @@
+clear;
+clc;
+
+// Example: 6.24
+// Page: 244
+
+printf("Example: 6.24 - Page: 244\n\n");
+
+// Solution
+
+// *****Data******//
+B = -4.28*10^(-4);// [cubic m/mol]
+P = 15*10^5;// [Pa]
+T = 273 + 87;// [K]
+R = 8.314;// [J/atm K]
+//****************//
+
+// Z = 1 + (B*P/(R*T))
+// (Z - 1)/P = B/(R*T)
+// From Eqn. 6.192 (b)
+// ln(f/P) = integral('(Z - 1)/P','P',0,P) = B*P/(R*T)
+f = P*exp(B*P/(R*T));// [Pa]
+printf("Fugacity of iso-butane is %.2f atm",f/10^5); \ No newline at end of file
diff --git a/647/CH6/EX6.3/Example6_3.sce b/647/CH6/EX6.3/Example6_3.sce
new file mode 100755
index 000000000..cc3d20107
--- /dev/null
+++ b/647/CH6/EX6.3/Example6_3.sce
@@ -0,0 +1,25 @@
+clear;
+clc;
+
+// Example: 6.3
+// Page: 206
+
+printf("Example: 6.3 - Page: 206\n\n");
+
+// Solution
+
+// *****Data******//
+P1 = 361.3;// [kPa]
+T1 = 140 + 273;// [K]
+P2 = 617.8;// [kPa]
+T2 = 160 + 273;// [K]
+T = 150 + 273;// [K]
+Vg = 0.3917;// [cubic m/kg]
+//****************//
+
+// From Eqn. 6.56
+// dP/dT = deltaH/(T*(Vg - V1)) = deltaH/(T*Vg)
+deltaP = P2 - P1;// [kPa]
+deltaT = T2 - T1;// [K]
+deltaH = T*Vg*deltaP/deltaT;// [kJ/kg]
+printf("Enthalpy of Vaporisation is %d kJ/kg\n",round(deltaH)); \ No newline at end of file
diff --git a/647/CH6/EX6.4/Example6_4.sce b/647/CH6/EX6.4/Example6_4.sce
new file mode 100755
index 000000000..78d472055
--- /dev/null
+++ b/647/CH6/EX6.4/Example6_4.sce
@@ -0,0 +1,21 @@
+clear;
+clc;
+
+// Example: 6.4
+// Page: 206
+
+printf("Example: 6.4 - Page: 206\n\n");
+
+// Solution
+
+// *****Data******//
+T1 = -40 + 273;// [K]
+T2 = -45 + 273;// [K]
+P1 = 51.25;// [kPa]
+R = 0.0815;// [kJ/kg K]
+Hv = 225.86;// [kJ/kg]
+//****************//
+
+// From Eqn. 6.61:
+P2 = P1*exp((Hv/R)*((1/T1) - (1/T2)));// [kPa]
+printf("Saturation pressure of the refrigerant is %.2f kPa",P2); \ No newline at end of file
diff --git a/647/CH6/EX6.5/Example6_5.sce b/647/CH6/EX6.5/Example6_5.sce
new file mode 100755
index 000000000..53136b998
--- /dev/null
+++ b/647/CH6/EX6.5/Example6_5.sce
@@ -0,0 +1,23 @@
+clear;
+clc;
+
+// Example: 6.5
+// Page: 206
+
+printf("Example: 6.5 - Page: 206\n\n");
+
+// Solution
+
+// *****Data******//
+Tb = -103.9 + 273;// [K]
+deff('[P] = f1(T)','P = 10^(-(834.13/T) + 1.75*log10(T) - 8.375*10^(-3)*T + 5.324)');
+R = 8.314;// [J/mol K]
+//***************//
+
+// From Eqn. 6.60, we get:
+// d(ln(P))/dT = deltaH/(R*T^2)
+deff('[P] = f2(T)','P = exp(2.303*log10(f1(T)))');
+// Differentiating it with respect to T
+// d(ln(P))/dT = (834.13*2.303/Tb^2 + 1.75/Tb - 2.303*8.375*10^(-3))
+deltaH = R*Tb^2*(834.13*2.303/Tb^2 + 1.75/Tb - 2.303*8.375*10^(-3))/1000;// [kJ/mol]
+printf("The enthalpy of vaporisation is %.2f kJ/mol\n",deltaH); \ No newline at end of file
diff --git a/647/CH6/EX6.6/Example6_6.sce b/647/CH6/EX6.6/Example6_6.sce
new file mode 100755
index 000000000..0352ce575
--- /dev/null
+++ b/647/CH6/EX6.6/Example6_6.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.6
+// Page: 214
+
+printf("Example: 6.6 - Page: 214\n\n");
+
+// Mathematics is involved in proving but just that no numerical computations are involved.
+// For prove refer to this example 6.6 on page number 214 of the book.
+
+printf(" Mathematics is involved in proving but just that no numerical computations are involved.\n\n");
+printf(" For prove refer to this example 6.6 on page 214 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.7/Example6_7.sce b/647/CH6/EX6.7/Example6_7.sce
new file mode 100755
index 000000000..04d20c26f
--- /dev/null
+++ b/647/CH6/EX6.7/Example6_7.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.7
+// Page: 215
+
+printf("Example: 6.7 - Page: 215\n\n");
+
+// Mathematics is involved in proving but just that no numerical computations are involved.
+// For prove refer to this example 6.7 on page number 215 of the book.
+
+printf(" Mathematics is involved in proving but just that no numerical computations are involved.\n\n");
+printf(" For prove refer to this example 6.7 on page 215 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.8/Example6_8.sce b/647/CH6/EX6.8/Example6_8.sce
new file mode 100755
index 000000000..b7853227b
--- /dev/null
+++ b/647/CH6/EX6.8/Example6_8.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.8
+// Page: 217
+
+printf("Example: 6.8 - Page: 217\n\n");
+
+// Mathematics is involved in proving but just that no numerical computations are involved.
+// For prove refer to this example 6.8 on page number 217 of the book.
+
+printf(" Mathematics is involved in proving but just that no numerical computations are involved.\n\n");
+printf(" For prove refer to this example 6.8 on page 217 of the book."); \ No newline at end of file
diff --git a/647/CH6/EX6.9/Example6_9.sce b/647/CH6/EX6.9/Example6_9.sce
new file mode 100755
index 000000000..afb47b082
--- /dev/null
+++ b/647/CH6/EX6.9/Example6_9.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+// Example: 6.9
+// Page: 217
+
+printf("Example: 6.9 - Page: 217\n\n");
+
+// Mathematics is involved in proving but just that no numerical computations are involved.
+// For prove refer to this example 6.9 on page number 217 of the book.
+
+printf(" Mathematics is involved in proving but just that no numerical computations are involved.\n\n");
+printf(" For prove refer to this example 6.9 on page 217 of the book."); \ No newline at end of file