summaryrefslogtreecommitdiff
path: root/2024/CH13/EX13.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2024/CH13/EX13.3
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 '2024/CH13/EX13.3')
-rwxr-xr-x2024/CH13/EX13.3/13_3.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2024/CH13/EX13.3/13_3.sce b/2024/CH13/EX13.3/13_3.sce
new file mode 100755
index 000000000..85377a2ac
--- /dev/null
+++ b/2024/CH13/EX13.3/13_3.sce
@@ -0,0 +1,20 @@
+clc
+clear
+//Initialization of variables
+ha=1033
+hbd=1403+1589
+hc=7823
+hdd=5142
+lhv=2733000
+M=29
+//calculations
+wt=hc-hdd
+wc=ha-hbd
+wnet=wt+wc
+heat=hc-hbd
+etat=wnet*100/heat
+mr=heat/lhv *142/M
+AF=1/mr
+//results
+printf("Thermal efficiency = %.1f percent",etat)
+printf("\n Air fuel ratio = %.1f lbm air/lbm fuel",AF)