summaryrefslogtreecommitdiff
path: root/2741/CH8/EX8.6/Chapter8_Example6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2741/CH8/EX8.6/Chapter8_Example6.sce
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 '2741/CH8/EX8.6/Chapter8_Example6.sce')
-rwxr-xr-x2741/CH8/EX8.6/Chapter8_Example6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2741/CH8/EX8.6/Chapter8_Example6.sce b/2741/CH8/EX8.6/Chapter8_Example6.sce
new file mode 100755
index 000000000..d22b11205
--- /dev/null
+++ b/2741/CH8/EX8.6/Chapter8_Example6.sce
@@ -0,0 +1,17 @@
+clc
+clear
+//Input data
+x1=10;//The thickness of the ice layer on the surface of a pond in cm
+x=5;//The increase in the thickness of the ice when the temperature is maintained at -10 degree centigrade in cm
+x2=x1+(x);//The increased thickness of the ice layer on the surface of a pond in cm
+T=-10;//The temperature of the surrounding air in degree centigrade
+d=0.90;//The density of ice at 0 degree centigrade in g/cm^3
+L=80;//The latent heat of ice in cal/g
+K=0.005;//The thermal conductivity of ice
+
+//Calculations
+t=((d*L)/(2*K*(-T)))*(x2^2-x1^2);//The time taken to increase its thickness by 5 cm in sec
+t1=t/(60*60);//The time taken to increase its thickness by 5 cm in hours
+
+//Output
+printf('The time taken to increase its thickness by 5 cm is t = %3.0g s (or) %3.0f hours',t,t1)