summaryrefslogtreecommitdiff
path: root/2489/CH5/EX5.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2489/CH5/EX5.3
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 '2489/CH5/EX5.3')
-rwxr-xr-x2489/CH5/EX5.3/5_3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2489/CH5/EX5.3/5_3.sce b/2489/CH5/EX5.3/5_3.sce
new file mode 100755
index 000000000..22fac484c
--- /dev/null
+++ b/2489/CH5/EX5.3/5_3.sce
@@ -0,0 +1,14 @@
+clc
+//Intitalisation of variables
+clear
+T= 100 //C
+v1= 1674 //cc
+v2= 1 //cc
+lv= 539.9 //cal g^-1
+sp= 13.595 //kg/m63
+g= 980 //cm/sec^2
+//CALCULATIONS
+r= (273.2+T)*(v1-v2)*sp*g/(lv*4.187*10^7)
+Tf= T+r
+//RESULTS
+printf ('Final temperature = %.2f C',Tf)