summaryrefslogtreecommitdiff
path: root/1427/CH25/EX25.9/25_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH25/EX25.9/25_9.sce')
-rw-r--r--1427/CH25/EX25.9/25_9.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1427/CH25/EX25.9/25_9.sce b/1427/CH25/EX25.9/25_9.sce
new file mode 100644
index 000000000..8ddc1c0e5
--- /dev/null
+++ b/1427/CH25/EX25.9/25_9.sce
@@ -0,0 +1,7 @@
+//ques-25.9
+//Calculating number of molecules in a mole of gas
+clc
+KE=5.621*10^-21;//KE/molecule (in J)
+T=273+0;//temperature (in K)
+Na=(3*8.314*T)/(2*KE);
+printf("The number of molecules in a mole of gas are %.2f*10^23.",Na*10^-23);