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 /2837/CH19/EX19.13/Ex19_13.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 '2837/CH19/EX19.13/Ex19_13.sce')
-rwxr-xr-x | 2837/CH19/EX19.13/Ex19_13.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2837/CH19/EX19.13/Ex19_13.sce b/2837/CH19/EX19.13/Ex19_13.sce new file mode 100755 index 000000000..de3027d69 --- /dev/null +++ b/2837/CH19/EX19.13/Ex19_13.sce @@ -0,0 +1,16 @@ +clc
+clear
+//Initalization of variables
+n=1.4
+t1=540 //R
+tmax=1500 //F
+pr=5
+cp=0.24
+t3=1558 //R
+net=125.8 //Btu/lb
+//calculations
+Q=cp*(tmax+460-t3)
+Qt=2*Q
+eta=net/Qt*100
+//results
+printf("Thermal efficiency = %.1f percent",eta)
|