summaryrefslogtreecommitdiff
path: root/3685/CH22/EX22.2/Ex22_2.sce
blob: 940759f0d8b41ddb4d97234471d39d00ac698a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
// Given that
lambda = 2.63e-5 // Mean free path of the molecules of the gas in m
t = 25 // Temperature in degree centigrade
r = 2.56e-10 // Radius of the molecules in m
printf("\n Example 22.2 \n")
sigma = 4*%pi*r^2
n = 0.707/(sigma*lambda)
p = n*(t+273)*(1.38*10^-23)
N = 1/lambda
printf("\n Pressure of the gas = %f Pa,\n No of collisions made by a molecule per meter of path = %e",p,N)