summaryrefslogtreecommitdiff
path: root/1373/CH5/EX5.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1373/CH5/EX5.4
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 '1373/CH5/EX5.4')
-rwxr-xr-x1373/CH5/EX5.4/Chapter5_Example4.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/1373/CH5/EX5.4/Chapter5_Example4.sce b/1373/CH5/EX5.4/Chapter5_Example4.sce
new file mode 100755
index 000000000..5079366c0
--- /dev/null
+++ b/1373/CH5/EX5.4/Chapter5_Example4.sce
@@ -0,0 +1,26 @@
+//Chapter-5, Example 5.4, Page 165
+//=============================================================================
+clc
+clear
+
+
+//INPUT DATA
+w=5.5;//Weight of the sphere in kg
+Ti=290;//Initial temperature in degree C
+Tl=15;//Temperature of liquid in degree C
+h=58;//Heat transfer coefficient in W/m^2.K
+Tf=95;//Final temperature in degree C
+k=205;//Thermal conductivity in W/m.K
+c=900;//Specific heat in J/kg.K
+p=2700;//Density in kg/m^3
+
+//CALCULATIONS
+V=(w/p);//Volume of the sphere in m^3
+R=((3*V)/(4*3.14))^(1/3);//Radius of sphere in m
+Lc=(R/3);//Corrected length in m
+t=-log((Tf-Tl)/(Ti-Tl))/((h*3)/(p*c*R));//Time at which rod temperature becomes 95 degree C in s
+
+//OUTPUT
+mprintf('Time at which rod temperature becomes 95 degree C is %3.0f s',t)
+
+//=================================END OF PROGRAM==============================