blob: 0717d890e226fe7deaaebcbb160a6d374ab391eb (
plain)
1
2
3
4
5
6
7
|
//ques-25.12
//Calculating rms velocity of oxygen molecules
clc
T=273+27;//temperature (in K)
M=32;//molar mass of O2 (in g/mol)
Crms=sqrt((3*8.314*T)/(M/1000));
printf("The rms velocity of oxygen molecules is %.2f m/s.",Crms);
|