summaryrefslogtreecommitdiff
path: root/587/CH2/EX2.17
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /587/CH2/EX2.17
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 '587/CH2/EX2.17')
-rwxr-xr-x587/CH2/EX2.17/example2_17.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/587/CH2/EX2.17/example2_17.sce b/587/CH2/EX2.17/example2_17.sce
new file mode 100755
index 000000000..f6f6f63bb
--- /dev/null
+++ b/587/CH2/EX2.17/example2_17.sce
@@ -0,0 +1,16 @@
+clear;
+clc;
+
+//Example2.17[Centerline Temperature of a Resistance Heater]
+//Given:-
+k=15;//Thermal conductivity of heater wire[W/m.K]
+E_gen=2000;//Total heat generation[W]
+l=0.5;//Length of resistance heater wire[m]
+D=0.004;//Diameter of wire[m]
+Ts=105;//Outer sorface Temperarure[degree Celcius]
+//Solution:-
+V_wire=%pi*(D^2)*l/4;//Volume of wire[m^3]
+e_gen=E_gen/V_wire;//[W/m^3]
+disp("W/m^3",e_gen,"The heat generation per unit volume of the wire is")
+Tc=Ts+(e_gen*(D^2)/(4*4*k));//[degree Celcius]
+disp("degree Celcius",round(Tc),"The center temperature of the wire is ")