diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2120/CH2/EX2.14 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2120/CH2/EX2.14')
-rwxr-xr-x | 2120/CH2/EX2.14/exa_2_14.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2120/CH2/EX2.14/exa_2_14.sce b/2120/CH2/EX2.14/exa_2_14.sce new file mode 100755 index 000000000..522088c61 --- /dev/null +++ b/2120/CH2/EX2.14/exa_2_14.sce @@ -0,0 +1,24 @@ +// Exa 2.14
+clc;
+clear;
+close;
+// Given data
+m=12;// in kg mol
+v=723.7;// in m^3
+T=140;// in °C
+T=T+273;// in K
+rho= 0.644;// in kg/m^3
+Ro= 8314;// in J/kg-mole K
+// rho= m/v, where m in Kg , so rho= m*M/v
+M= rho*v/m;
+m= m*M;// in kg
+disp(M,"Molecular weight is : ")
+
+// Part (b)
+R= Ro/M;// in J/kg K
+disp(R*10^-3,"Gas constant in kJ/kg K")
+
+// Part(c)
+p= m*R*T/v;// in N/m^2
+p=p*10^-5;// in bar
+disp(p,"The pressure of the gas in bar is : ")
|