summaryrefslogtreecommitdiff
path: root/1427/CH25/EX25.12/25_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH25/EX25.12/25_12.sce')
-rw-r--r--1427/CH25/EX25.12/25_12.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1427/CH25/EX25.12/25_12.sce b/1427/CH25/EX25.12/25_12.sce
new file mode 100644
index 000000000..0717d890e
--- /dev/null
+++ b/1427/CH25/EX25.12/25_12.sce
@@ -0,0 +1,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);