blob: c3f4eddd171e74913d095c4923da0db14df73a49 (
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)
|