summaryrefslogtreecommitdiff
path: root/1373/CH3/EX3.26
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1373/CH3/EX3.26
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/CH3/EX3.26')
-rwxr-xr-x1373/CH3/EX3.26/Chapter3_Example26.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/1373/CH3/EX3.26/Chapter3_Example26.sce b/1373/CH3/EX3.26/Chapter3_Example26.sce
new file mode 100755
index 000000000..85a6e9cdb
--- /dev/null
+++ b/1373/CH3/EX3.26/Chapter3_Example26.sce
@@ -0,0 +1,21 @@
+//Chapter-3, Example 3.26, Page 102
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+To=140;//Temperature at the junction in degree C
+Ti=15;//Temperature of air in the room in degree C
+D=0.003;//Diameter of the rod in m
+h=300;//Heat transfer coefficient in W/m^2.K
+k=150;//Thermal conductivity in W/m.K
+
+//CALCULATIONS
+P=(3.14*D);//Perimeter of the rod in m
+A=(3.14*D^2)/4;//Area of the rod in m^2
+Q=sqrt(h*P*k*A)*(To-Ti);//Total heat dissipated by the rod in W
+
+//OUTPUT
+mprintf('Total heat dissipated by the rod is %3.3f W',Q)
+
+//=================================END OF PROGRAM==============================