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 /1460/CH12/EX12.3 | |
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 '1460/CH12/EX12.3')
-rwxr-xr-x | 1460/CH12/EX12.3/12_3.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1460/CH12/EX12.3/12_3.sce b/1460/CH12/EX12.3/12_3.sce new file mode 100755 index 000000000..947e868b8 --- /dev/null +++ b/1460/CH12/EX12.3/12_3.sce @@ -0,0 +1,19 @@ +clc
+//initialization of variables
+cpm=0.2523
+Rm=54.7
+T1=60+460 //R
+T2=400+460 //R
+//calculations
+cvm=cpm-Rm/778
+Q=cpm*(T2-T1)
+W=Rm*(T2-T1)
+//Rm is divided and multiplied by 778.!
+function [cp]=s(T)
+ cp=cpm/T
+endfunction
+ds=intg(T1,T2,s)
+//results
+printf("Entropy change = %.4f B/lbm ",ds)
+printf("\n specific work = %d ft-lb/lbm",W)
+printf("\n Heat added per pound of mixture = %.1f B/lbm",Q)
|