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 /2135/CH1/EX1.41 | |
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 '2135/CH1/EX1.41')
-rwxr-xr-x | 2135/CH1/EX1.41/Exa_1_41.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/2135/CH1/EX1.41/Exa_1_41.sce b/2135/CH1/EX1.41/Exa_1_41.sce new file mode 100755 index 000000000..85b03ab2a --- /dev/null +++ b/2135/CH1/EX1.41/Exa_1_41.sce @@ -0,0 +1,26 @@ +//Exa 1.41
+clc;
+clear;
+close;
+format('v',7);
+
+//Given Data :
+ma=0.4;//Kg
+mb=0.8;//Kg
+Ma=44;
+Mb=29;
+V=0.4;//m^3
+T=300;//K
+Rdash=8314.3;//J/Kgk
+Ra=Rdash/Ma;//Nm/KgK
+Rb=Rdash/Mb;//Nm/KgK
+na=ma/Ma;//moles
+nb=mb/Mb;//moles
+//p*V=n*R*T
+pa=na*Rdash/1000*T/V;//bar
+pb=nb*Rdash/1000*T/V;//bar
+disp(pa,"Pressure of container A in KPa : ");
+disp(pb,"Pressure of container B in KPa : ");
+p=pa+pb;//Kpa
+disp(p,"Pressure of mixture in KPa : ");
+//Ans of Pb is wrong in the book.
|