summaryrefslogtreecommitdiff
path: root/3876/CH2/EX2.2
diff options
context:
space:
mode:
Diffstat (limited to '3876/CH2/EX2.2')
-rw-r--r--3876/CH2/EX2.2/Ex2_2.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3876/CH2/EX2.2/Ex2_2.sce b/3876/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..20e95f7f2
--- /dev/null
+++ b/3876/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,17 @@
+//Chapter 2 Gases
+
+clc;
+clear;
+
+//Initialisation of Variables
+N= 6*10**23 //molcules
+R= 0.0821 //lit atm mole^-1
+V= 20 //lit
+P= 730 //mm of Hg
+T= -20 //C
+
+//CALCULATIONS
+M= N*P*V/(760*R*(273+T))
+
+//RESULTS
+mprintf("Molecules =%.2e molecules",M)