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.9/Chapter3_Example9.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 1571/CH3/EX3.9/Chapter3_Example9.sce (limited to '1571/CH3/EX3.9/Chapter3_Example9.sce') diff --git a/1571/CH3/EX3.9/Chapter3_Example9.sce b/1571/CH3/EX3.9/Chapter3_Example9.sce new file mode 100755 index 000000000..fb103d9d7 --- /dev/null +++ b/1571/CH3/EX3.9/Chapter3_Example9.sce @@ -0,0 +1,17 @@ +clc +clear + +//INPUT DATA +h=10000;//vertical height of water fall in cm +v=5;//volume disharged per sec in litres +J=4.18;//joule's constant in j/cal +g=981;//accelaration due to gravity in cm/sec^2 + +//CALCULATIONS +m=v*1000;//mass of water disharged per sec in gm +w=m*h*g;//work done in falling through 100m in erg +H=w/(J*10^7);//quantity of heat produced in cal +T=H/m;//rise in temperature in deg.C + +//OUTPUT +mprintf('the quantity of heat produced is %3f cal \n the rise in temperature is %3.2f deg.C',H,T) -- cgit