From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2741/CH5/EX5.6/Chapter5_Example6.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 2741/CH5/EX5.6/Chapter5_Example6.sce (limited to '2741/CH5/EX5.6/Chapter5_Example6.sce') 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) -- cgit