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.9/Chapter5_Example9.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2741/CH5/EX5.9/Chapter5_Example9.sce (limited to '2741/CH5/EX5.9/Chapter5_Example9.sce') diff --git a/2741/CH5/EX5.9/Chapter5_Example9.sce b/2741/CH5/EX5.9/Chapter5_Example9.sce new file mode 100755 index 000000000..d5bfaf9dd --- /dev/null +++ b/2741/CH5/EX5.9/Chapter5_Example9.sce @@ -0,0 +1,17 @@ +clc +clear +//Input data +v=1;//The volume of an Ideal gas at N.T.P in m^3 +d=13.6;//The density of mercury in g/cm^3 +g=980;//Gravitational constant in gms/s^2 +p=76;//The pressure in cm of Hg +R=8.31*10^7;//The Universal gas constant in ergs/g mol-K +N=6.023*10^23;//The Avogadro number +T=273;//The temperature at N.T.P in K + +//Calculations +P=p*g*d;//The given pressure in dynes/cm^2 +x=(P*N*10^6)/(R*T);//Number of molecules in one cubic metre volume + +//Output +printf('The number of molecules in one cubic metre of an ideal gas at N.T.P is x = %3.4g ',x) -- cgit