summaryrefslogtreecommitdiff
path: root/2175/CH2/EX2.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2175/CH2/EX2.8
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2175/CH2/EX2.8')
-rwxr-xr-x2175/CH2/EX2.8/2_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2175/CH2/EX2.8/2_8.sce b/2175/CH2/EX2.8/2_8.sce
new file mode 100755
index 000000000..f5ad83256
--- /dev/null
+++ b/2175/CH2/EX2.8/2_8.sce
@@ -0,0 +1,16 @@
+clc;
+v1=0.2*10^5;//m^3
+p1=1.013;//bar
+T1=15+273;//C
+w=0.2;//kg
+m=28;//kg/k mole
+R_=8314.5;//N m/K
+
+R=R_/m;
+m1=p1*v1/(R*T1);
+
+m2=0.20+.237;
+//T2=T1 & v2=v1
+p2=m2*R*T1/v1
+disp("the new pressure is:");
+disp("bar",p2)