summaryrefslogtreecommitdiff
path: root/1571/CH9/EX9.11
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1571/CH9/EX9.11
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 '1571/CH9/EX9.11')
-rwxr-xr-x1571/CH9/EX9.11/Chapter9_Example11.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1571/CH9/EX9.11/Chapter9_Example11.sce b/1571/CH9/EX9.11/Chapter9_Example11.sce
new file mode 100755
index 000000000..ef7b079cc
--- /dev/null
+++ b/1571/CH9/EX9.11/Chapter9_Example11.sce
@@ -0,0 +1,13 @@
+clc
+clear
+
+//INPUT
+p=200;//horse power of steam engine in lbs coal per hour
+j=770;//joules constant in ft lbs per B.Th.U
+
+//CALCULATIONS
+w=12500*p*j;//equivalent work in ft.lb.per.hr
+hp=w/(60*33000);//horse power
+
+//OUTPUT
+mprintf('hoose power of the engine is %3.2f',hp)