summaryrefslogtreecommitdiff
path: root/1427/CH25/EX25.2/25_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH25/EX25.2/25_2.sce')
-rw-r--r--1427/CH25/EX25.2/25_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1427/CH25/EX25.2/25_2.sce b/1427/CH25/EX25.2/25_2.sce
new file mode 100644
index 000000000..81d4b6181
--- /dev/null
+++ b/1427/CH25/EX25.2/25_2.sce
@@ -0,0 +1,10 @@
+//ques-25.2
+//Determining molecular weight of a gas
+clc
+m1=0.184;//mass of H2 given (in g)
+M1=2;//molar mass of H2 (in g/mol)
+m2=3.7;//mass of another gas (in g)
+T1=273+17;//temperature for H2 (in K)
+T2=273+25;//temperature for the gas (in K)
+M2=(m2*T2*M1)/(m1*T1);
+printf("The molar mass of the given gas is %.2f g/mol.",M2);