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 --- 2741/CH8/EX8.6/Chapter8_Example6.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2741/CH8/EX8.6/Chapter8_Example6.sce (limited to '2741/CH8/EX8.6/Chapter8_Example6.sce') 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) -- cgit