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/CH2/EX2.33 | |
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/CH2/EX2.33')
-rwxr-xr-x | 2135/CH2/EX2.33/Exa_2_33.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2135/CH2/EX2.33/Exa_2_33.sce b/2135/CH2/EX2.33/Exa_2_33.sce new file mode 100755 index 000000000..0d41e2c47 --- /dev/null +++ b/2135/CH2/EX2.33/Exa_2_33.sce @@ -0,0 +1,19 @@ +//Exa 2.33
+clc;
+clear;
+close;
+format('v',7);
+
+//Given Data :
+p1=10^5;//Pa
+p2=5*10^5;//Pa
+T1=25+273;//K
+V1=1.8;//m^3/Kg
+V2=p1/p2*V1;//m^3/Kg
+W=-p1*V1*log(p2/p1);//J/kg
+W=W/1000;//KJ/Kg
+disp(W,"Workdone in KJ : ");
+deltaU=0;//As in a isothermal process T2-T1 =0
+disp(deltaU,"Change in internal energy in KJ : ");
+Q=-W;//KJ/Kg(As in a isothermal process T2-T1 =0 )
+disp(Q,"Heat Transfered in KJ/Kg : ");
|