blob: 21baa7869546c5e147cce79dadfeb1cb49215aa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
clear
//INPUT
t=273;//temperature at ntp in K
//rms velocity of oxygen is 3/2 times its rms velocity at ntp then e1=(3/2)*e
//CALCULATIONS
t1=(9*t/4);//temperature of the oxygen molecule in K
//OUTPUT
mprintf('temperature of the oxygen in %3.2fK',t1)
|