summaryrefslogtreecommitdiff
path: root/3876/CH2/EX2.1/Ex2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3876/CH2/EX2.1/Ex2_1.sce')
-rw-r--r--3876/CH2/EX2.1/Ex2_1.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3876/CH2/EX2.1/Ex2_1.sce b/3876/CH2/EX2.1/Ex2_1.sce
new file mode 100644
index 000000000..8f04df680
--- /dev/null
+++ b/3876/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,17 @@
+//Chapter 2 Gases
+
+clc;
+clear;
+
+//Initialisation of Variables
+P= 730 //mm
+V= 20 //litres
+T= -20 //C
+P1= 760 //mm
+T1= 0 //C
+
+//CALCULATIONS
+V1= P*V*(273+T1)/((273+T)*760)
+
+//RESULTS
+mprintf("Volume at STP =%.1f litres",V1)