summaryrefslogtreecommitdiff
path: root/1985/CH17/EX17.2/Chapter17_example2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1985/CH17/EX17.2/Chapter17_example2.sce')
-rwxr-xr-x1985/CH17/EX17.2/Chapter17_example2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1985/CH17/EX17.2/Chapter17_example2.sce b/1985/CH17/EX17.2/Chapter17_example2.sce
new file mode 100755
index 000000000..751df8bf5
--- /dev/null
+++ b/1985/CH17/EX17.2/Chapter17_example2.sce
@@ -0,0 +1,12 @@
+clc
+clear
+//Input data
+L2=0.032//Length of the wax melted portion in the iron rod in m
+L1=0.08//Length of the wax melted portion in the copper rod in m
+K1=385//Thermal conductivity of copper in W/m.K
+
+//Calculations
+K2=(K1*L2^2)/L1^2//Thermal conductivity of iron in W/m.K
+
+//Output
+printf('Thermal conductivity of iron is %3.1f W/m.K',K2)