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 /2741/CH5/EX5.6/Chapter5_Example6.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 '2741/CH5/EX5.6/Chapter5_Example6.sce')
-rwxr-xr-x | 2741/CH5/EX5.6/Chapter5_Example6.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2741/CH5/EX5.6/Chapter5_Example6.sce b/2741/CH5/EX5.6/Chapter5_Example6.sce new file mode 100755 index 000000000..37af6fe55 --- /dev/null +++ b/2741/CH5/EX5.6/Chapter5_Example6.sce @@ -0,0 +1,19 @@ +clc
+clear
+//Input data
+t=27;//The given temperature in degree centigrade
+d=13.6;//The density of mercury in g/cm^3
+g=980;//Gravitational constant in gms/s^2
+m1=16;//number of oxygen molecules
+D=0.000089;//The density of hydrogen at N.T.P in g/cc
+T=273;//The temperature at N.T.P in K
+
+//Calculations
+P=76*g*d;//The pressure in dynes/cm^2
+p=m1*D;//The density of oxygen at N.T.P in g/cc
+C=((3*P)/(p))^(1/2);//The RMS velocity of oxygen molecule in cm/s
+T1=t+T;//The given temperature in K
+C1=C*(T1/T)^(1/2);//The RMS velocity of the molecules at 27 degree centigrade in cm/s
+
+//Output
+printf('The RMS velocity of the oxygen molecules at 27 degree centigrade is C1 = %3.4g cm/s ',C1)
|