summaryrefslogtreecommitdiff
path: root/1571/CH3/EX3.12
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.12
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.12')
-rwxr-xr-x1571/CH3/EX3.12/Chapter3_Example12.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1571/CH3/EX3.12/Chapter3_Example12.sce b/1571/CH3/EX3.12/Chapter3_Example12.sce
new file mode 100755
index 000000000..b9f2519e7
--- /dev/null
+++ b/1571/CH3/EX3.12/Chapter3_Example12.sce
@@ -0,0 +1,19 @@
+clc
+clear
+
+//INPUT DATA
+//callender and barnes continous flow method
+V1=3;//potential difference in v
+V2=3.75;//potential differnce in v
+i1=2;//current in amp
+i2=2.5;//current in amp
+T=2.7;//the rise in temperature of the water in deg.C
+m1=30;//water flow rate at 3 volts in gm/min
+m2=48;//water flow rate at 3.75volts in gm/min
+s=1;//specific heat of the water kj/kg-K
+
+//CALCULATIONS
+J=(V1*i1-V2*i2)/(s*T*(m1-m2)/60);//the mechanical equivalent in j/cal
+
+//OUTPUT
+mprintf('the mechanical equivalent is %3.3f j/cal',J)