diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /32/CH1/EX1.06 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '32/CH1/EX1.06')
-rwxr-xr-x | 32/CH1/EX1.06/1_06.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/32/CH1/EX1.06/1_06.sce b/32/CH1/EX1.06/1_06.sce new file mode 100755 index 000000000..6f1a0d955 --- /dev/null +++ b/32/CH1/EX1.06/1_06.sce @@ -0,0 +1,16 @@ +//pathname=get_absolute_file_path('1.06.sce')
+//filename=pathname+filesep()+'1.06-data.sci'
+//exec(filename)
+//Mass of water(in kg):
+m=1
+//Altitude(in m):
+h=1000
+//Specific heat of water(in J/kg-K):
+c=4.18*10^3
+//Acceleration due to gravity(in m/s^2):
+g=9.81
+//Heat required for heating = Potential energy
+Q=m*g*h
+dT=Q/c
+printf("\n\n RESULT \n\n")
+printf("\n\n The change in temperature =%f degree celcius ",dT)
|