summaryrefslogtreecommitdiff
path: root/3876/CH2/EX2.5/Ex2_5.sce
blob: e69ec1e9ba798ec44a5497ea92757755f114854c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Chapter 2 Gases

clc;
clear;

//Initialisation of Variables
R= 8.31*10**7 //ergs mole^-1
T= 27 //C
M= 28 //gram per mole

//CALCULATIONS
c= sqrt(3*R*(273+T)/M)

//RESULTS
mprintf("Root-Mean-Square velocity = %.2e cm per sec",c)