summaryrefslogtreecommitdiff
path: root/587/CH2/EX2.18
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.18
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.18')
-rwxr-xr-x587/CH2/EX2.18/example2_18.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/587/CH2/EX2.18/example2_18.sce b/587/CH2/EX2.18/example2_18.sce
new file mode 100755
index 000000000..72636f37d
--- /dev/null
+++ b/587/CH2/EX2.18/example2_18.sce
@@ -0,0 +1,14 @@
+clear;
+clc;
+
+//Example2.18[Variation of Temperature in a Resistance Heater]
+//Given:-
+k=13.55;//[W/m.degree Celcius]
+ro=0.005;//[m]
+e_gen=4.3*10^7;//rate of resistance heating[W/m^3]
+Ts=108;//Surface temperature[degree Celcius]
+//Solution:-
+//Integrating we get
+//T(r)=Ts+((e_gen*(ro^2-r^2)/4k))
+T_0=Ts+((e_gen*ro^2)/(4*k));
+disp("degree Celcius",round(T_0),"The temperature at the centreline,r=0 is")