diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1958/CH6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1958/CH6')
-rwxr-xr-x | 1958/CH6/EX6.1/Chapter6_example1.sce | 14 | ||||
-rwxr-xr-x | 1958/CH6/EX6.2/Chapter6_example2.sce | 12 | ||||
-rwxr-xr-x | 1958/CH6/EX6.3/Chapter6_example3.sce | 14 | ||||
-rwxr-xr-x | 1958/CH6/EX6.4/Chapter6_example4.sce | 14 | ||||
-rwxr-xr-x | 1958/CH6/EX6.5/Chapter6_example5.sce | 16 |
5 files changed, 70 insertions, 0 deletions
diff --git a/1958/CH6/EX6.1/Chapter6_example1.sce b/1958/CH6/EX6.1/Chapter6_example1.sce new file mode 100755 index 000000000..a6da4d234 --- /dev/null +++ b/1958/CH6/EX6.1/Chapter6_example1.sce @@ -0,0 +1,14 @@ +clc
+clear
+//Input data
+a=(2.1*10^-2)//Vanderwaals constant a for neon gas in Nm^4/mol^2
+b=(1.71*10^-5)//Vanderwaals constant b for neon gas in m^3/mol
+R=8.314//Gas constant in J/mol.K
+
+//Calculations
+Tc=(8*a)/(27*b*R)//Critical temperature in K
+Vc=(3*b)/10^-5//Critical volume in m^3/mol * 10^-5
+Pc=(a/(27*b^2))/10^6//Critical pressure in N/m^2 * 10^6
+
+//Output
+printf('Critical temperature is %3.2f K \n Critical volume is %3.2f * 10^-5 m^3/mol \n Critical pressure is %3.3f * 10^6 N/m^2',Tc,Vc,Pc)
diff --git a/1958/CH6/EX6.2/Chapter6_example2.sce b/1958/CH6/EX6.2/Chapter6_example2.sce new file mode 100755 index 000000000..4f2b9bdc1 --- /dev/null +++ b/1958/CH6/EX6.2/Chapter6_example2.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Input data
+n=181*10^-6//Coefficient of viscosity of a gas in p
+v=3*10^4//Average speed of molecules in cm/s
+d=1.2929*10^-3//Density in g/cm^3
+
+//Calculations
+lemda=((3*n)/(d*v))/10^-6//Mean free path in cm*10^-6
+
+//Output
+printf('Mean free path is %3.0f * 10^-6 cm',lemda)
diff --git a/1958/CH6/EX6.3/Chapter6_example3.sce b/1958/CH6/EX6.3/Chapter6_example3.sce new file mode 100755 index 000000000..d4b8d8cc3 --- /dev/null +++ b/1958/CH6/EX6.3/Chapter6_example3.sce @@ -0,0 +1,14 @@ +clc
+clear
+//Input data
+m=(28*1.66*10^-27)//Molecular mass of a gas in kg
+d=(3.48*10^-10)//Diameter in m
+k=(1.38*10^-23)//Boltzmans constant in J/K
+P=1.01*10^5//Pressure at STP in N/m^2
+T=273//Temperature at STP in K
+
+//Calculations
+D=((1/(P*3*d^2*sqrt(m)))*((2*k*T)/3.14)^(3/2))/10^-5//Diffusion coefficient of a gas at STP in m^2/s
+
+//Output
+printf('Diffusion coefficient of a gas at STP is %3.2f * 10^-5 m^2/s',D)
diff --git a/1958/CH6/EX6.4/Chapter6_example4.sce b/1958/CH6/EX6.4/Chapter6_example4.sce new file mode 100755 index 000000000..47997586b --- /dev/null +++ b/1958/CH6/EX6.4/Chapter6_example4.sce @@ -0,0 +1,14 @@ +clc
+clear
+//Input data
+m=(32*1.66*10^-27)//Molecular mass of a gas in kg
+d=(3.65*10^-10)//Diameter in m
+k=(1.38*10^-23)//Boltzmans constant in J/K
+P=1.01*10^5//Pressure at STP in N/m^2
+T=273//Temperature at STP in K
+
+//Calculations
+n=((1/(3.14*d^2))*sqrt((8*k*T*m)/(9*3.14)))/10^-5//Viscosity of gas at STP in N.s/m^2
+
+//Output
+printf('Viscosity of a gas at STP is %3.5f *10^-5 N.s/m^2',n)
diff --git a/1958/CH6/EX6.5/Chapter6_example5.sce b/1958/CH6/EX6.5/Chapter6_example5.sce new file mode 100755 index 000000000..4fbea5164 --- /dev/null +++ b/1958/CH6/EX6.5/Chapter6_example5.sce @@ -0,0 +1,16 @@ +clc
+clear
+//Input data
+v=460//Average speed of molecules in m/s
+l=(720*10^-10)//Mean free path in m
+Cv=21.06//Specific heat at constant volume in J/K.mol
+k=(1.38*10^-23)//Boltzmans constant in J/K
+P=1.01*10^5//Pressure at STP in N/m^2
+T=273//Temperature at STP in K
+N=6.022*10^23//Avagadro constant
+
+//Calculations
+K=((1/3)*(Cv/N)*(P/(k*T))*v*l)/10^-2//Thermal conductivity of the gas at STP in W/m.K *10^-2
+
+//Output
+printf('Thermal conductivity of the gas at STP is %3.5f *10^-2 W/m.K',K)
|