summaryrefslogtreecommitdiff
path: root/3850/CH24/EX24.4/Ex24_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH24/EX24.4/Ex24_4.sce')
-rw-r--r--3850/CH24/EX24.4/Ex24_4.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3850/CH24/EX24.4/Ex24_4.sce b/3850/CH24/EX24.4/Ex24_4.sce
new file mode 100644
index 000000000..682102049
--- /dev/null
+++ b/3850/CH24/EX24.4/Ex24_4.sce
@@ -0,0 +1,18 @@
+
+//To calculate the rms speed of oxygen molecules
+
+//Example 24.4
+
+clear;
+
+clc;
+
+R=8.3;//universal gas constant in J/mol-K
+
+T=300;//temperature in Kelvin
+
+M0=0.032;//molecular weight in kg/mol
+
+V=sqrt(3*R*T/M0);//formula for finding the rms speed
+
+printf("the rms speed of oxygen molecule=%d m/s",V);