blob: a73df1f29618cabbf062ccccb8525a9de0a7da73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clear ;
clc;
// Example 13.2
printf('Example 13.2\n\n');
//Page No. 405
// Solution
p =1 ;// Pressure -[atm]
V = 22415 ;// Molar valume -[cubic centimetre/g mol]
T = 273.15 ;// Temperature-[K]
R = (p*V/T);// Universal gas constant-[(cubic centimetre.atm)/(K.g mol)]
printf('Universal gas constant is %.2f (cubic centimetre*atm)/(K*g mol). ',R);
|