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 /779/CH10/EX10.8/10_8.sce | |
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 '779/CH10/EX10.8/10_8.sce')
-rwxr-xr-x | 779/CH10/EX10.8/10_8.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/779/CH10/EX10.8/10_8.sce b/779/CH10/EX10.8/10_8.sce new file mode 100755 index 000000000..9c36d06a4 --- /dev/null +++ b/779/CH10/EX10.8/10_8.sce @@ -0,0 +1,17 @@ +cp = 1.968; cv = 1.507;
+R_ = 8.314;
+V = 0.3; m = 2;
+T1 = 5+273; T2 = 100+273;
+R = cp-cv;
+mu = R_/R;
+Q12 = m*cv*(T2-T1);
+W12 = 0 ;
+U21 = Q12;
+H21= m*cp*(T2-T1);
+S21 = m*cv*log(T2/T1);
+disp("kJ/kg K",R,"kg/kg mol and",mu,"Molecular weight and the gas constant of the gas are")
+disp("kJ",0,"Work done")
+disp("kJ",Q12,"The heat transferred")
+disp("kJ",U21,"The change in internal energy ")
+disp("kJ",S21,"entropy")
+disp("kJ/K",H21,"enthalpy")
\ No newline at end of file |