From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1571/CH3/EX3.12/Chapter3_Example12.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 1571/CH3/EX3.12/Chapter3_Example12.sce (limited to '1571/CH3/EX3.12') 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) -- cgit