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 /914/CH14/EX14.1/ex14_1.sce | |
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 '914/CH14/EX14.1/ex14_1.sce')
-rwxr-xr-x | 914/CH14/EX14.1/ex14_1.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/914/CH14/EX14.1/ex14_1.sce b/914/CH14/EX14.1/ex14_1.sce new file mode 100755 index 000000000..7b390666b --- /dev/null +++ b/914/CH14/EX14.1/ex14_1.sce @@ -0,0 +1,21 @@ +clc;
+warning("off");
+printf("\n\n example14.1 - pg726");
+// given
+T=40+273.15; //[K] - temperature
+P=1; //[atm] - pressure
+sigma=3.711*10^-10; //[m]
+etadivkb=78.6; //[K]
+A=1.16145;
+B=0.14874;
+C=0.52487;
+D=0.77320;
+E=2.16178;
+F=2.43787;
+Tstar=T/(etadivkb);
+// using the formula si=(A/(Tstar^B))+(C/exp(D*Tstar))+(E/exp(F*Tstar)
+si=(A/(Tstar^B))+(C/exp(D*Tstar))+(E/exp(F*Tstar));
+M=28.966; //[kg/mole] - molecular weight
+// using the formula mu=(2.6693*(10^-26))*(((M*T)^(1/2))/((sigma^2)*si))
+mu=(2.6693*(10^-26))*(((M*T)^(1/2))/((sigma^2)*si));
+printf("\n\n The viscosity of air is \n mu=%eNs/m^2=%fcp",mu,mu*10^3);
|