summaryrefslogtreecommitdiff
path: root/1571/CH3/EX3.1
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.1
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.1')
-rwxr-xr-x1571/CH3/EX3.1/Chapter3_Example1.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1571/CH3/EX3.1/Chapter3_Example1.sce b/1571/CH3/EX3.1/Chapter3_Example1.sce
new file mode 100755
index 000000000..0c532267b
--- /dev/null
+++ b/1571/CH3/EX3.1/Chapter3_Example1.sce
@@ -0,0 +1,18 @@
+clc
+clear
+
+//INPUT DATA
+m=20;//calorimeter of water equivalent in gm
+n=1030;//weight of water in gm
+p=2;//no.of paddles
+a=10;//weight of each paddle in kg
+s=80;//distance between paddles in m
+g=980;//accelaration due to gravity in cm/sec^2
+
+//CALCULATIONS
+E=(p*a*1000*g*s*100);//potential energy in dyne cm
+T=(E)/(1050*4.18*10^7);//rise in temperature in deg.C
+//if the rise in temp be T,then heat gained by the calorimeter and its contets is 1050T so J=(E)/(1050*T) where (j=4.18*10^7erg/cal)
+
+//OUTPUT
+mprintf('the rise in temperature of water is %3.2f deg.C',T)