summaryrefslogtreecommitdiff
path: root/172/CH12/EX12.3/ex3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /172/CH12/EX12.3/ex3.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '172/CH12/EX12.3/ex3.sce')
-rwxr-xr-x172/CH12/EX12.3/ex3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/172/CH12/EX12.3/ex3.sce b/172/CH12/EX12.3/ex3.sce
new file mode 100755
index 000000000..34e28fddb
--- /dev/null
+++ b/172/CH12/EX12.3/ex3.sce
@@ -0,0 +1,12 @@
+//ques3
+//efficiency of the cycle
+clc
+clear
+wnet=395.2;//kJ/kg from example no 1
+//Tx=T4
+Tx=710.8;//K from example no 1
+T3=1373.2;//K from example no 1
+Cp=1.004;//specific heat in kJ/kg
+qh=Cp*(T3-Tx);
+nth=wnet/qh;
+printf('Thermal efficiency = %.1f percent',nth*100); \ No newline at end of file