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.4/Chapter5_Example4.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.4/Chapter5_Example4.sce')
-rwxr-xr-x | 2741/CH5/EX5.4/Chapter5_Example4.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2741/CH5/EX5.4/Chapter5_Example4.sce b/2741/CH5/EX5.4/Chapter5_Example4.sce new file mode 100755 index 000000000..7119f2a02 --- /dev/null +++ b/2741/CH5/EX5.4/Chapter5_Example4.sce @@ -0,0 +1,15 @@ +clc
+clear
+//Input data
+v=1;//The volume of oxygen at N.T.P in cm^3
+d=13.6;//The density of mercury in g/cm^3
+r=4.62*10^4;//The R.M.S velocity of oxygen molecules at 0 degree centigrade in cm/s
+m=52.8*10^-24;//Mass of one molecule of oxygen in g
+g=980;//Gravitational constant in gms/s^2
+
+//Calculations
+P=76*g*d;//The pressure in dynes/cm^2
+n=((3*P)/(m*r^2));//Number of molecules in 1 cc of oxygen at N.T.P
+
+//Output
+printf('The number of molecules in 1 c.c of oxygen at N.T.P is n = %3.4g ',n)
|