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 --- 1073/CH2/EX2.39/2_39.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 1073/CH2/EX2.39/2_39.sce (limited to '1073/CH2/EX2.39/2_39.sce') diff --git a/1073/CH2/EX2.39/2_39.sce b/1073/CH2/EX2.39/2_39.sce new file mode 100755 index 000000000..575b14bb7 --- /dev/null +++ b/1073/CH2/EX2.39/2_39.sce @@ -0,0 +1,20 @@ + +clc; +clear; +//Example 2.39 +//Given +h=11.36 //W/sq m.K +k=43.3 //w/(m.K) +r=25.4 //radius in mm +r=r/1000 // radius in m +A=4*%pi*r^2 //Area of sphere [sq m] +V=A*r/3 //Volume in [cubic m] +rho=7849 //kg/cubic m +Cp=0.4606*10^3 //J/kg.K +t=1 //hour +t=t*3600 //seconds +T_inf=394.3 //[K] +T0=700 //[K] +// (T-T_inf)/(T0-T_inf)=e^(-3*h*t/rho*Cp*V) +T=T_inf+(T0-T_inf)*(%e^((-h*A*t)/(rho*Cp*V))); +printf("Temperature of ball after 1 h= %f K (%f degree C)",T,T-273) -- cgit