summaryrefslogtreecommitdiff
path: root/1985/CH17/EX17.3/Chapter17_example3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1985/CH17/EX17.3/Chapter17_example3.sce
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 '1985/CH17/EX17.3/Chapter17_example3.sce')
-rwxr-xr-x1985/CH17/EX17.3/Chapter17_example3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1985/CH17/EX17.3/Chapter17_example3.sce b/1985/CH17/EX17.3/Chapter17_example3.sce
new file mode 100755
index 000000000..fac27627b
--- /dev/null
+++ b/1985/CH17/EX17.3/Chapter17_example3.sce
@@ -0,0 +1,15 @@
+clc
+clear
+//Input data
+d=0.2//Length of iron rod in m
+A=0.685*10^-4//Area of cross-section in m^2
+T1=100+273//Temperature of the hot end in K
+T2=30+273//Temperature of the other end in K
+K=62//Thermal conductivity of iron in W/m.K
+t=10*60//Time in sec
+
+//Calculations
+Q=(K*A*(T1-T2)*t)/d//Quantity of heat conducted in J
+
+//Output
+printf('The iron rod conducts %3.2f J of energy in 10 minutes',Q)