summaryrefslogtreecommitdiff
path: root/1571/CH3/EX3.16/Chapter3_Example16.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.16/Chapter3_Example16.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.16/Chapter3_Example16.sce')
-rwxr-xr-x1571/CH3/EX3.16/Chapter3_Example16.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1571/CH3/EX3.16/Chapter3_Example16.sce b/1571/CH3/EX3.16/Chapter3_Example16.sce
new file mode 100755
index 000000000..ac8167446
--- /dev/null
+++ b/1571/CH3/EX3.16/Chapter3_Example16.sce
@@ -0,0 +1,17 @@
+clc
+clear
+
+//INPUT DATA
+//continous flow calorimeter
+r=120/60;//rate of flow of water in gm/sec
+T1=27.30;//temperature at initial in deg.C
+T2=33.75;//temperature at final in deg.C
+v=12.64;//potential drop in volts
+s=1;//specific heat of water in kj/kg-K
+i=4.35;//current through the heating element in amp
+
+//CALCULATIONS
+J=(v*i)/(r*s*(T2-T1));//the mechanical equivalent of heat in joule/calorie
+
+//OUTPUT
+mprintf('the mechanical equivalent of heat is %3.2f j/cal',J)