summaryrefslogtreecommitdiff
path: root/3648/CH10/EX10.5
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3648/CH10/EX10.5
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3648/CH10/EX10.5')
-rw-r--r--3648/CH10/EX10.5/Ex10_5.sce12
-rw-r--r--3648/CH10/EX10.5/Ex10_5.txt1
2 files changed, 13 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)
diff --git a/3648/CH10/EX10.5/Ex10_5.txt b/3648/CH10/EX10.5/Ex10_5.txt
new file mode 100644
index 000000000..f884ff1aa
--- /dev/null
+++ b/3648/CH10/EX10.5/Ex10_5.txt
@@ -0,0 +1 @@
+ The pressure in the container is P=249 Pa \ No newline at end of file