summaryrefslogtreecommitdiff
path: root/3648/CH10/EX10.5/Ex10_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH10/EX10.5/Ex10_5.sce')
-rw-r--r--3648/CH10/EX10.5/Ex10_5.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3648/CH10/EX10.5/Ex10_5.sce b/3648/CH10/EX10.5/Ex10_5.sce
new file mode 100644
index 000000000..b3b6e760b
--- /dev/null
+++ b/3648/CH10/EX10.5/Ex10_5.sce
@@ -0,0 +1,12 @@
+//Example 10_5
+clc();
+clear;
+//To find the gas pressure in the container
+v=5*10^-3 //units in meter^3
+t=300 //units in K
+m1=14*10^-6 //Units in Kg
+M=28 //Units in Kg/Kmol
+n=m1/M //units in K mol
+R=8314 //units in J/Kmol K
+p=(n*R*t)/v //units in Meter^3/Kmol
+printf("The pressure in the container is P=%d Pa",p)