summaryrefslogtreecommitdiff
path: root/1571/CH3/EX3.6/Chapter3_Example6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1571/CH3/EX3.6/Chapter3_Example6.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 '1571/CH3/EX3.6/Chapter3_Example6.sce')
-rwxr-xr-x1571/CH3/EX3.6/Chapter3_Example6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1571/CH3/EX3.6/Chapter3_Example6.sce b/1571/CH3/EX3.6/Chapter3_Example6.sce
new file mode 100755
index 000000000..d8fae081c
--- /dev/null
+++ b/1571/CH3/EX3.6/Chapter3_Example6.sce
@@ -0,0 +1,18 @@
+clc
+clear
+
+//INPUT DATA
+w=26.6;//work done one horse in to raise the temperature in lb
+T1=32;//temperature at initial in deg.F
+T2=212;//temperature at final in deg.F
+t=2.5;//time to raise the tmperature in hrs
+p=25;//percentage of heat lossed
+
+//CALCULATIONS
+//let x ft-lb per min be the rate at which horse worked//total work done in ft-lb wt W=x*150
+//amount of heat generated in lb deg.F H=W/778
+//only 75% of heat is utillised
+x=w*180*100*778/((100-p)*150);//the rate at which horse worked
+
+//OUTPUT
+mprintf('the rate at which horse worked is %3.0f ft-lb wt/min',x)